From 4dbf842735e7ca5fe97c0a7e4a0036aa25e7de1b Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Thu, 11 Jan 2024 17:12:40 +0000 Subject: [PATCH] ITS#10154 - Add github action to automatically close PRs GitHub is a mirror, nothing should be opened there for the project. --- .github/workflows/close-pull-request.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/close-pull-request.yaml diff --git a/.github/workflows/close-pull-request.yaml b/.github/workflows/close-pull-request.yaml new file mode 100644 index 0000000000..cc262d1c07 --- /dev/null +++ b/.github/workflows/close-pull-request.yaml @@ -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. Please use the [OpenLDAP Issue Tracker](https://bugs.openldap.org) to file issues." -- 2.47.3