Skip to content

liamg/antispam-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

antispam-action

GitHub action to automatically close spam issues and pull requests.

Currently I use this to close PRs from Russian bots on traitor.

Usage

Add the following to .github/workflows/antispam.yml in your repository:

name: antispam

on:
  issues:
    types:
      - opened
      - edited
      - reopened
  pull_request:
    types:
      - opened
      - edited
      - reopened
      - synchronize

permissions:
  pull-requests: write
  issues: write

jobs:
  build:
    name: Antispam
    runs-on: ubuntu-latest

    steps:
      - uses: liamg/antispam-action@1
        with:
          token: ${{ github.token }}

About

GitHub action to autoclose spam issues + PRs

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published