@@ -89,20 +89,16 @@ steps:
8989 fileName : my-workflow.yml
9090 # End filepath verification
9191 # ######################################################
92- # - type: removeBranchProtection
9392 - type : respond
9493 issue : Start here!
9594 with : new-pull-request.md
9695 data :
9796 pullUrl : " %payload.pull_request.html_url%"
9897 - type : closeIssue
9998 issue : Start here!
100-
10199 - type : createReview
102- body : pr-review .md
100+ body : 01_merge-workflow .md
103101 event : APPROVE
104- - type : respond
105- with : 01_merge-workflow.md
106102 data :
107103 actionsUrl : " %payload.repository.html_url%/actions"
108104
@@ -120,7 +116,6 @@ steps:
120116 issue : Create my-workflow.yml
121117 data :
122118 issueURL : " %actions.triggerIssue.data.html_url%"
123- # - type: updateBranchProtection
124119
125120 - title : Add another GitHub Script action
126121 description : Use GitHub Script to place this issue into a project board
@@ -215,16 +210,16 @@ steps:
215210 fileName : my-workflow.yml
216211 # End filepath verification
217212 # ######################################################
218- - type : removeBranchProtection
219213 - type : respond
220214 issue : 3
221215 with : new-pull-request.md
222216 data :
223217 pullUrl : " %payload.pull_request.html_url%"
224218 - type : closeIssue
225219 issue : 3
226- - type : respond
227- with : 04_merge-workflow.md
220+ - type : createReview
221+ body : 04_merge-workflow.md
222+ event : APPROVE
228223 data :
229224 actionsUrl : " %payload.repository.html_url%/actions"
230225
@@ -242,7 +237,6 @@ steps:
242237 issue : Update my-workflow.yml
243238 data :
244239 issueURL : " %actions.triggerIssue.data.html_url%"
245- - type : updateBranchProtection
246240
247241 - title : Break your workflow into multiple steps
248242 description : Separate the workflow concerns by adding more steps
@@ -310,9 +304,9 @@ steps:
310304 event : pull_request.synchronize
311305 link : " {{repoUrl}}/pull/6"
312306 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
316310
317311 - title : See workflow results
318312 description : See the results of the final workflow run
0 commit comments