aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/close-pull-request.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/close-pull-request.yml')
-rw-r--r--.github/workflows/close-pull-request.yml22
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..da11c4a6
--- /dev/null
+++ b/.github/workflows/close-pull-request.yml
@@ -0,0 +1,22 @@
+# GitHub actions workflow.
+# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
+
+# https://github.com/superbrothers/close-pull-request
+name: Close Pull Request
+
+on:
+ pull_request_target:
+ types: [opened]
+
+jobs:
+ run:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: superbrothers/close-pull-request@v3
+ with:
+ comment: >
+ Thanks for your contribution!
+ Unfortunately, we don't use GitHub pull requests to manage code
+ contributions to this repository.
+ Instead, please see [README.md](../blob/HEAD/README.md) which
+ provides full instructions on how to get involved.