Skip to content

Commit 239f10f

Browse files
authored
Merge pull request #582 from nathanwhit/bors
Create single Github actions job to gate bors on
2 parents 9127568 + 09d5449 commit 239f10f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,23 @@ jobs:
111111

112112
- name: Build Chalk book
113113
run: cd book && ./mdbook build
114+
115+
end-success:
116+
name: bors build finished
117+
if: success()
118+
runs-on: ubuntu-latest
119+
needs: [test, fmt]
120+
121+
steps:
122+
- name: Mark the job as successful
123+
run: exit 0
124+
125+
end-failure:
126+
name: bors build finished
127+
if: "!success()"
128+
runs-on: ubuntu-latest
129+
needs: [test, fmt]
130+
131+
steps:
132+
- name: Mark the job as a failure
133+
run: exit 1

0 commit comments

Comments
 (0)