From 7f2d2185bd8bf2a5aafb9b2c69405e249b5d4627 Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 10 Nov 2023 10:40:48 -0300 Subject: [PATCH] Add a workflow to close spammy PRs First attempt, not sure if this will be useful at all. --- .github/workflows/close_spam.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/close_spam.yml diff --git a/.github/workflows/close_spam.yml b/.github/workflows/close_spam.yml new file mode 100644 index 000000000..fe9f8810b --- /dev/null +++ b/.github/workflows/close_spam.yml @@ -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."