GitHub action to automatically hide scam comments on issues.
Add the following to .github/workflows/antiscam.yml
in your repository:
name: antiscam
on:
issue_comment:
types:
- created
- edited
permissions:
pull-requests: write
issues: write
jobs:
build:
name: Antiscam
runs-on: ubuntu-latest
steps:
- uses: vbaranov/antiscam-action@main
with:
token: ${{ github.token }}