File tree Expand file tree Collapse file tree 3 files changed +47
-0
lines changed
src/hydrate/steps/writing/creation/dotGitHub Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ jobs :
2
+ pr_review_requested :
3
+ runs-on : ubuntu-latest
4
+ steps :
5
+ - uses : actions-ecosystem/action-remove-labels@v1
6
+ with :
7
+ labels : " status: waiting for author"
8
+ - if : failure()
9
+ run : |
10
+ echo "Don't worry about if the previous step failed."
11
+ echo "See https://github.com/actions-ecosystem/action-remove-labels/issues/221."
12
+
13
+ name : PR Review Requested
14
+
15
+ on :
16
+ pull_request_target :
17
+ types :
18
+ - review_requested
19
+
20
+ permissions :
21
+ pull-requests : write
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ interface WorkflowFileOn {
13
13
}
14
14
| null
15
15
| string ;
16
+ pull_request_target ?: {
17
+ types : string [ ] ;
18
+ } ;
16
19
push ?: {
17
20
branches : string [ ] ;
18
21
} ;
Original file line number Diff line number Diff line change @@ -104,6 +104,29 @@ export function createWorkflows({
104
104
} ,
105
105
] ,
106
106
} ) ,
107
+ "pr-review-requested.yml" : createWorkflowFile ( {
108
+ name : "PR Review Requested" ,
109
+ on : {
110
+ pull_request_target : {
111
+ types : [ "review_requested" ] ,
112
+ } ,
113
+ } ,
114
+ permissions : {
115
+ "pull-requests" : "write" ,
116
+ } ,
117
+ steps : [
118
+ {
119
+ uses : "actions-ecosystem/action-remove-labels@v1" ,
120
+ with : {
121
+ labels : "status: waiting for author" ,
122
+ } ,
123
+ } ,
124
+ {
125
+ if : "failure()" ,
126
+ run : 'echo "Don\'t worry about if the previous step failed."\necho "See https://github.com/actions-ecosystem/action-remove-labels/issues/221."\n' ,
127
+ } ,
128
+ ] ,
129
+ } ) ,
107
130
"prettier.yml" : createWorkflowFile ( {
108
131
name : "Prettier" ,
109
132
runs : [ "pnpm format --list-different" ] ,
You can’t perform that action at this time.
0 commit comments