mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2024-10-01 01:25:56 -04:00
Update vt-scan.yml
This commit is contained in:
parent
518ca98896
commit
3b9f9d8a7c
23
.github/workflows/vt-scan.yml
vendored
23
.github/workflows/vt-scan.yml
vendored
@ -1,21 +1,20 @@
|
||||
---
|
||||
name: release
|
||||
name: VirusTotal Scan
|
||||
|
||||
on:
|
||||
release:
|
||||
- published
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
scan:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: 📦 Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: 📦 Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
- name: 📦 Scan PDF files using VT
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Scan files
|
||||
uses: crazy-max/ghaction-virustotal@v3
|
||||
with:
|
||||
vt_api_key: ${{ secrets.VT_API_KEY }}
|
||||
files: |
|
||||
export/*.pdf
|
||||
- name: Calculate SHA-256 Hashes
|
||||
run: find . -type f -print0 | xargs -0 sha2
|
||||
|
Loading…
Reference in New Issue
Block a user