Files
docker-py-revanced/.github/workflows/virus-total-scan.yml
T
Nikhil Badyal 0fa597cf5a 👷 Updated CI
2022-10-02 13:49:54 +05:30

26 lines
612 B
YAML

name: VirusTotal Scan
on:
workflow_run:
workflows: [ "Build Revanced APK" ]
types:
- completed
workflow_dispatch: # to trigger manually
jobs:
virustotal:
runs-on: ubuntu-latest
steps:
- name: VirusTotal Scan
if: ${{ env.HAVE_VT_API_KEY == 'true' }}
uses: nikhilbadyal/ghaction-virustotal@master
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
update_release_body: true
github_token: ${{ secrets.GH_TOKEN }}
request_rate: 4
files: |
.apk$
env:
HAVE_VT_API_KEY: ${{ secrets.VT_API_KEY != '' }}