We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ab55b6 commit b4952a0Copy full SHA for b4952a0
.github/PULL_REQUEST_TEMPLATE.md
@@ -23,4 +23,9 @@
23
24
<!--
25
Is this related to any GitHub issue(s)?
26
--->
+-->
27
+
28
+<!--
29
+ Please delete this comment if you confirm that you want to submit this Pull Request.
30
+ CHECK_PR_DID_NOT_CONFIRM
31
.github/workflows/bad-pr.yml
@@ -0,0 +1,15 @@
1
+name: cleanup-pr
2
3
+on:
4
+ pull_request_target:
5
+ types: [opened, reopened]
6
7
+jobs:
8
+ close-pr:
9
+ runs-on: ubuntu-latest
10
+ if: "contains(github.event.pull_request.body, 'CHECK_PR_DID_NOT_CONFIRM')"
11
+ steps:
12
+ - uses: superbrothers/close-pull-request@v3
13
+ with:
14
+ # Optional. Post an issue comment just before closing a pull request.
15
+ comment: "This PR is not valid for inclusion. Please check again if you're submitting improvements for *the theme*."
0 commit comments