Add a workflow to close spammy PRs

First attempt, not sure if this will be useful at all.
This commit is contained in:
David Capello 2023-11-10 10:40:48 -03:00
parent 309a64de9f
commit 7f2d2185bd

13
.github/workflows/close_spam.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Close Spam PR
on:
pull_request_target:
types: [opened, reopened]
paths:
- '.github/workflows/**'
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: "We do not accept PRs to modify GitHub actions. Contact david@igara.com directly with patches for this."