Get VirusTotal API KEY here
Due to VirusTotal API personal limits, GH Action checks each url every 30 seconds
Idea: Thanks to Eric Siu a.k.a randomishwalk issue link
Example:
name: Check Malicious Links
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/[email protected]
with:
virustotal-api-key: ${{ secrets.VIRUS_TOTAL_API_KEY }}
filename: 'README.md'
malicious_threshold: 1
suspicious_threshold: 1