From 70422dd11026d088cfee3448901fc048ed12d800 Mon Sep 17 00:00:00 2001 From: Ardian <34317628+arddluma@users.noreply.github.com> Date: Mon, 15 Jan 2024 15:12:43 +0100 Subject: [PATCH] Implement VirusTotal - Malicious Link Checker gh action --- .github/workflows/virustotal-linkchecker.yml | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/virustotal-linkchecker.yml diff --git a/.github/workflows/virustotal-linkchecker.yml b/.github/workflows/virustotal-linkchecker.yml new file mode 100644 index 0000000..bf3cce8 --- /dev/null +++ b/.github/workflows/virustotal-linkchecker.yml @@ -0,0 +1,24 @@ +name: Malicious Link Checker + +on: + push: + branches: + - 'main' + pull_request: + branches: + - 'main' + +jobs: + check-links: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Run VirusTotal Link Checker + uses: arddluma/gh-action-virustotal-link-checker@v1.0.0 + with: + virustotal-api-key: ${{ secrets.VIRUS_TOTAL_API_KEY }} + filename: 'README.md' + malicious_threshold: 1 + suspicious_threshold: 1 \ No newline at end of file