File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 3333 host_target : i686-pc-windows-msvc
3434 steps :
3535 - uses : actions/checkout@v2
36+
37+ # These jobs doesn't actually test anything, but they're only used to tell
38+ # bors the build completed, as there is no practical way to detect when a
39+ # workflow is successful listening to webhooks only.
40+ #
41+ # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
42+ end-success :
43+ name : bors build finished
44+ runs-on : ubuntu-latest
45+ needs : [build]
46+ if : github.event.pusher.name == 'bors' && success()
47+ steps :
48+ - name : mark the job as a success
49+ run : exit 0
50+ end-failure :
51+ name : bors build finished
52+ runs-on : ubuntu-latest
53+ needs : [build]
54+ if : github.event.pusher.name == 'bors' && (failure() || cancelled())
55+ steps :
56+ - name : mark the job as a failure
57+ run : exit 1
You can’t perform that action at this time.
0 commit comments