File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -190,3 +190,30 @@ jobs:
190
190
191
191
- name : Prune unnecessary cache
192
192
run : script/ci/prune-cache.sh
193
+
194
+
195
+ # These jobs doesn't actually test anything, but they're only used to tell
196
+ # bors the build completed, as there is no practical way to detect when a
197
+ # workflow is successful listening to webhooks only.
198
+ #
199
+ # ALL THE PREVIOUS JOBS NEEDS TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
200
+
201
+ end-success :
202
+ name : bors build finished
203
+ if : success()
204
+ runs-on : ubuntu-latest
205
+ needs : [frontend, backend]
206
+
207
+ steps :
208
+ - name : Mark the job as successful
209
+ run : exit 0
210
+
211
+ end-failure :
212
+ name : bors build finished
213
+ if : " !success()"
214
+ runs-on : ubuntu-latest
215
+ needs : [frontend, backend]
216
+
217
+ steps :
218
+ - name : Mark the job as a failure
219
+ run : exit 1
You can’t perform that action at this time.
0 commit comments