This repository was archived by the owner on Sep 1, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -101,14 +101,24 @@ steps:
101101 - type : createReview
102102 body : 01_merge-workflow.md
103103 event : APPROVE
104- data :
105- actionsUrl : " %payload.repository.html_url%/actions%"
106104
107105 - title : Merge your first pull request
108106 description : Make the workflow available to the repository by merging the pull request
109107 event : pull_request.closed
110108 link : " {{store.firstPullUrl}}"
111109 actions :
110+ - type : gate
111+ every : true
112+ gates :
113+ - left : ' {{ payload.pull_request.number }}'
114+ operator : ===
115+ right : ' {{ store.firstPullNumber }}'
116+ - left : ' {{ payload.pull_request.merged }}'
117+ else :
118+ - type : respond
119+ with : e-generic.md
120+ data :
121+ expected : merge pull request '{{ store.firstPullNumber }}'
112122 - type : createIssue
113123 title : Create an issue comment with GitHub Script
114124 body : 02_workflow-triggered.md
Original file line number Diff line number Diff line change 1+ Oops! I was expecting you to take ** {{ expected }}** .
2+
3+ I'll respond when you take the expected action.
You can’t perform that action at this time.
0 commit comments