File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : VirusTotal Scan
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ paths :
7+ - plugins/**
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+
16+ # - name: Set up Go
17+ # uses: actions/setup-go@v4
18+
19+ - name : Download All Plugins
20+ run : |
21+ pip install -r ci/envs/requirements-virustotal-setup.txt
22+ python ./ci/src/ci/src/virustotal_setup.py
23+
24+ - name : VirusTotal Scan
25+ uses : crazy-max/ghaction-virustotal@v4
26+ with :
27+ # vt_api_key: ${{ secrets.VT_API_KEY }}
28+ files : |
29+ ./VirusTotal_Tests/
Original file line number Diff line number Diff line change @@ -16,4 +16,6 @@ def setup_virustotal_scan_items(github_token: str = "") -> None:
1616
1717if __name__ == "__main__" :
1818 github_token = str (sys .argv [1 ]) if len (sys .argv ) > 1 else ""
19+ if not github_token :
20+ print ("Not using token" )
1921 setup_virustotal_scan_items (github_token )
You can’t perform that action at this time.
0 commit comments