From b294a31769fc8f4e4856c70b21f6496dc356b419 Mon Sep 17 00:00:00 2001 From: nthouliss Date: Fri, 16 Jun 2023 13:02:11 +1000 Subject: [PATCH] Add action to auto-close pull requests --- .github/pull-requests.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/pull-requests.yml diff --git a/.github/pull-requests.yml b/.github/pull-requests.yml new file mode 100644 index 0000000..9f539a6 --- /dev/null +++ b/.github/pull-requests.yml @@ -0,0 +1,14 @@ +name: Close Pull Request + +on: + pull_request_target: + types: [opened] + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: superbrothers/close-pull-request@v3 + with: + # Optional. Post a issue comment just before closing a pull request. + comment: "We do not accept PRs." \ No newline at end of file