VirusTotal Action
Submit file globs or release assets to the VirusTotal API for scanning.
Supports files up to 650MB and includes rate limiting for free accounts.
On release events the Release Notes will optionally be updated with links to the scan results. You can now customize the links display and release notes heading. See the Features for more details.
To get started, create or update your workflow file and review the permissions.
Workflow
Add the step to an existing workflow or create a new one.
yaml
- name: "VirusTotal"
uses: cssnr/virustotal-action@v1
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
yaml
name: "Release"
on:
release:
types: [published]
jobs:
release:
name: "Release"
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write
steps:
- name: "Upload Release"
uses: cssnr/upload-release-action@v1
with:
files: README.md
- name: "VirusTotal"
uses: cssnr/virustotal-action@v1
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
Hash Copied to Clipboard
Check out the Rolling Tags for more tag options.
Make sure to add the required Permissions.
See the Inputs Documentation for additional options and default values.
Permissions
This action requires the following permissions to edit releases notes:
yaml
permissions:
contents: write