Update vt-scan.yml

This commit is contained in:
Than Harrison 2023-06-10 21:48:09 +00:00 committed by GitHub
parent 518ca98896
commit 3b9f9d8a7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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