mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 11:58:37 +09:00
29 lines
639 B
YAML
29 lines
639 B
YAML
name: VirusTotal Scan
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
secrets:
|
|
VT_API_KEY:
|
|
required: true
|
|
GH_TOKEN:
|
|
required: true
|
|
|
|
jobs:
|
|
virustotal:
|
|
timeout-minutes: 10
|
|
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 != '' }}
|