From 3b9f9d8a7c54050edc0a6cff70404806fd9a61dc Mon Sep 17 00:00:00 2001 From: nopeitsnothing Date: Sat, 10 Jun 2023 21:48:09 +0000 Subject: [PATCH] Update vt-scan.yml --- .github/workflows/vt-scan.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/vt-scan.yml b/.github/workflows/vt-scan.yml index 370ae00..0ccd90e 100644 --- a/.github/workflows/vt-scan.yml +++ b/.github/workflows/vt-scan.yml @@ -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