File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,18 @@ jobs:
122
122
env :
123
123
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
124
124
125
+ - name : Clean up the trigger label
126
+ if : ${{ always() }}
127
+
128
+ with :
129
+ route : DELETE /repos/:repository/issues/:issue_number/labels/:label_name
130
+ repository : ${{ github.event.repository.full_name }}
131
+ issue_number : ${{ github.event.pull_request.number }}
132
+ label_name : ${{ github.event.label.name }}
133
+ env :
134
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
135
+
136
+
125
137
result :
126
138
127
139
runs-on : ubuntu-latest
@@ -208,3 +220,14 @@ jobs:
208
220
conclusion : ${{ steps.wiby_result.outputs.wiby_conclusion }}
209
221
env :
210
222
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
223
+
224
+ - name : Clean up the trigger label
225
+ if : ${{ always() }}
226
+
227
+ with :
228
+ route : DELETE /repos/:repository/issues/:issue_number/labels/:label_name
229
+ repository : ${{ github.event.repository.full_name }}
230
+ issue_number : ${{ github.event.pull_request.number }}
231
+ label_name : ${{ github.event.label.name }}
232
+ env :
233
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments