workflow: check issue spammy

fixed: #4772
This commit is contained in:
Avelino 2023-03-18 07:48:46 -03:00 committed by GitHub
parent aa7f45dc35
commit 3ee45b6c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,15 @@
name: Check for Spammy Issues
on:
issue:
types: [opened]
jobs:
mark-as-spam:
name: Remove issues with spammy
runs-on: ubuntu-latest
steps:
- name: close issue
uses: balevine/mark-as-spam@v1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}