From 7800b012a269dac6778904ef7028041d437d6c1e Mon Sep 17 00:00:00 2001 From: nopeitsnothing Date: Sat, 10 Jun 2023 21:36:28 +0000 Subject: [PATCH] Integrate with VirusTotal Automatically scan on release --- .github/workflows/vt-scan.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/vt-scan.yml diff --git a/.github/workflows/vt-scan.yml b/.github/workflows/vt-scan.yml new file mode 100644 index 0000000..01c2fe7 --- /dev/null +++ b/.github/workflows/vt-scan.yml @@ -0,0 +1,21 @@ +name: Release: Scan with VT + +on: + release: [published] + +jobs: + build: + 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 + uses: crazy-max/ghaction-virustotal@v3 + with: + vt_api_key: ${{ secrets.VT_API_KEY }} + files: | + export/*.pdf