av-whitelist.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. name: AntiVirus Whitelisting
  2. on:
  3. workflow_call:
  4. inputs:
  5. url:
  6. description: "Url to the file to upload"
  7. required: true
  8. type: string
  9. workflow_dispatch:
  10. inputs:
  11. url:
  12. description: "Url to the file to upload"
  13. required: true
  14. type: string
  15. jobs:
  16. allowlist:
  17. name: Anti Virus Allowlisting
  18. runs-on: ubuntu-latest
  19. steps:
  20. - name: Download file
  21. run: |
  22. curl --remote-name ${{ inputs.url }} -L
  23. - name: Upload to Kaspersky
  24. uses: SamKirkland/FTP-Deploy-Action@v4.3.5
  25. with:
  26. protocol: ftps
  27. server: allowlist.kaspersky-labs.com
  28. port: 990
  29. username: ${{ secrets.ALLOWLIST_KASPERSKY_USERNAME }}
  30. password: ${{ secrets.ALLOWLIST_KASPERSKY_PASSWORD }}
  31. - name: Upload to Avast
  32. uses: SamKirkland/FTP-Deploy-Action@v4.3.5
  33. with:
  34. protocol: ftp
  35. server: whitelisting.avast.com
  36. port: 21
  37. username: ${{ secrets.ALLOWLIST_AVAST_USERNAME }}
  38. password: ${{ secrets.ALLOWLIST_AVAST_PASSWORD }}