@@ -89,20 +89,16 @@ steps:
89
89
fileName : my-workflow.yml
90
90
# End filepath verification
91
91
# ######################################################
92
- # - type: removeBranchProtection
93
92
- type : respond
94
93
issue : Start here!
95
94
with : new-pull-request.md
96
95
data :
97
96
pullUrl : " %payload.pull_request.html_url%"
98
97
- type : closeIssue
99
98
issue : Start here!
100
-
101
99
- type : createReview
102
- body : pr-review .md
100
+ body : 01_merge-workflow .md
103
101
event : APPROVE
104
- - type : respond
105
- with : 01_merge-workflow.md
106
102
data :
107
103
actionsUrl : " %payload.repository.html_url%/actions"
108
104
@@ -120,7 +116,6 @@ steps:
120
116
issue : Create my-workflow.yml
121
117
data :
122
118
issueURL : " %actions.triggerIssue.data.html_url%"
123
- # - type: updateBranchProtection
124
119
125
120
- title : Add another GitHub Script action
126
121
description : Use GitHub Script to place this issue into a project board
@@ -215,16 +210,16 @@ steps:
215
210
fileName : my-workflow.yml
216
211
# End filepath verification
217
212
# ######################################################
218
- - type : removeBranchProtection
219
213
- type : respond
220
214
issue : 3
221
215
with : new-pull-request.md
222
216
data :
223
217
pullUrl : " %payload.pull_request.html_url%"
224
218
- type : closeIssue
225
219
issue : 3
226
- - type : respond
227
- with : 04_merge-workflow.md
220
+ - type : createReview
221
+ body : 04_merge-workflow.md
222
+ event : APPROVE
228
223
data :
229
224
actionsUrl : " %payload.repository.html_url%/actions"
230
225
@@ -242,7 +237,6 @@ steps:
242
237
issue : Update my-workflow.yml
243
238
data :
244
239
issueURL : " %actions.triggerIssue.data.html_url%"
245
- - type : updateBranchProtection
246
240
247
241
- title : Break your workflow into multiple steps
248
242
description : Separate the workflow concerns by adding more steps
@@ -310,9 +304,9 @@ steps:
310
304
event : pull_request.synchronize
311
305
link : " {{repoUrl}}/pull/6"
312
306
actions :
313
- - type : removeBranchProtection
314
- - type : respond
315
- with : 08_merge-workflow.md
307
+ - type : createReview
308
+ body : 08_merge-workflow.md
309
+ event : APPROVE
316
310
317
311
- title : See workflow results
318
312
description : See the results of the final workflow run
0 commit comments