8989 fileName : my-workflow.yml
9090 # End filepath verification
9191 # ######################################################
92- - type : removeBranchProtection
92+ # - type: removeBranchProtection
9393 - type : respond
9494 issue : Start here!
9595 with : new-pull-request.md
9898 - type : closeIssue
9999 issue : Start here!
100100
101+ - type : createReview
102+ body : pr-review.md
103+ event : APPROVE
101104 - type : respond
102105 with : 01_merge-workflow.md
103106 data :
@@ -108,7 +111,6 @@ steps:
108111 event : pull_request.closed
109112 link : " {{ repoUrl }}/pull/2"
110113 actions :
111- # - type: updateBranchProtection
112114 - type : createIssue
113115 title : Create an issue comment with GitHub Script
114116 body : 02_workflow-triggered.md
@@ -118,6 +120,7 @@ steps:
118120 issue : Create my-workflow.yml
119121 data :
120122 issueURL : " %actions.triggerIssue.data.html_url%"
123+ # - type: updateBranchProtection
121124
122125 - title : Add another GitHub Script action
123126 description : Use GitHub Script to place this issue into a project board
@@ -230,7 +233,6 @@ steps:
230233 event : pull_request.closed
231234 link : " {{ repoUrl }}/issues/5"
232235 actions :
233- - type : updateBranchProtection
234236 - type : createIssue
235237 title : Create an issue comment with GitHub Script
236238 body : 05_workflow-triggered.md
@@ -240,6 +242,7 @@ steps:
240242 issue : Update my-workflow.yml
241243 data :
242244 issueURL : " %actions.triggerIssue.data.html_url%"
245+ - type : updateBranchProtection
243246
244247 - title : Break your workflow into multiple steps
245248 description : Separate the workflow concerns by adding more steps
0 commit comments