diff options
-rw-r--r-- | .github/workflows/close-pull-request.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/close-pull-request.yml b/.github/workflows/close-pull-request.yml new file mode 100644 index 00000000..dff055fc --- /dev/null +++ b/.github/workflows/close-pull-request.yml | |||
@@ -0,0 +1,22 @@ | |||
1 | # GitHub actions workflow. | ||
2 | # https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | ||
3 | |||
4 | # https://github.com/superbrothers/close-pull-request | ||
5 | name: Close Pull Request | ||
6 | |||
7 | on: | ||
8 | pull_request_target: | ||
9 | types: [opened] | ||
10 | |||
11 | jobs: | ||
12 | run: | ||
13 | runs-on: ubuntu-latest | ||
14 | steps: | ||
15 | - uses: superbrothers/close-pull-request@v3 | ||
16 | with: | ||
17 | comment: > | ||
18 | Thanks for your contribution! | ||
19 | Unfortunately, we don't use GitHub pull requests to manage code | ||
20 | contributions to this repository. | ||
21 | Instead, please see [README.md](../blob/HEAD/SUBMITTING_PATCHES.md) | ||
22 | which provides full instructions on how to get involved. | ||