An open API service indexing awesome lists of open source software.

https://github.com/liamg/antispam-action

GitHub action to autoclose spam issues + PRs
https://github.com/liamg/antispam-action

Last synced: 10 months ago
JSON representation

GitHub action to autoclose spam issues + PRs

Awesome Lists containing this project

README

          

# antispam-action

GitHub action to automatically close spam issues and pull requests.

Currently I use this to close PRs from Russian bots on [traitor](https://github.com/liamg/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 }}
```