File tree 2 files changed +24
-1
lines changed
2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 23
23
24
24
<!--
25
25
Is this related to any GitHub issue(s)?
26
- -->
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
+ -->
Original file line number Diff line number Diff line change
1
+ name : Cleanup bad 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') || github.event.pull_request.body == ''"
11
+ steps :
12
+ - uses : actions-ecosystem/action-add-labels@v1
13
+ with :
14
+ labels : ' Type: Invalid'
15
+ - uses : superbrothers/close-pull-request@v3
16
+ with :
17
+ # Optional. Post an issue comment just before closing a pull request.
18
+ comment : " This PR is not valid for inclusion. Please check again if you're submitting improvements for *the theme*."
You can’t perform that action at this time.
0 commit comments