89
89
fileName : my-workflow.yml
90
90
# End filepath verification
91
91
# ######################################################
92
- - type : removeBranchProtection
92
+ # - type: removeBranchProtection
93
93
- type : respond
94
94
issue : Start here!
95
95
with : new-pull-request.md
98
98
- type : closeIssue
99
99
issue : Start here!
100
100
101
+ - type : createReview
102
+ body : pr-review.md
103
+ event : APPROVE
101
104
- type : respond
102
105
with : 01_merge-workflow.md
103
106
data :
@@ -108,7 +111,6 @@ steps:
108
111
event : pull_request.closed
109
112
link : " {{ repoUrl }}/pull/2"
110
113
actions :
111
- # - type: updateBranchProtection
112
114
- type : createIssue
113
115
title : Create an issue comment with GitHub Script
114
116
body : 02_workflow-triggered.md
@@ -118,6 +120,7 @@ steps:
118
120
issue : Create my-workflow.yml
119
121
data :
120
122
issueURL : " %actions.triggerIssue.data.html_url%"
123
+ # - type: updateBranchProtection
121
124
122
125
- title : Add another GitHub Script action
123
126
description : Use GitHub Script to place this issue into a project board
@@ -230,7 +233,6 @@ steps:
230
233
event : pull_request.closed
231
234
link : " {{ repoUrl }}/issues/5"
232
235
actions :
233
- - type : updateBranchProtection
234
236
- type : createIssue
235
237
title : Create an issue comment with GitHub Script
236
238
body : 05_workflow-triggered.md
@@ -240,6 +242,7 @@ steps:
240
242
issue : Update my-workflow.yml
241
243
data :
242
244
issueURL : " %actions.triggerIssue.data.html_url%"
245
+ - type : updateBranchProtection
243
246
244
247
- title : Break your workflow into multiple steps
245
248
description : Separate the workflow concerns by adding more steps
0 commit comments