Skip to content

Commit

Permalink
Merge pull request #582 from nathanwhit/bors
Browse files Browse the repository at this point in the history
Create single Github actions job to gate bors on
  • Loading branch information
jackh726 authored Jul 23, 2020
2 parents 9127568 + 09d5449 commit 239f10f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,23 @@ jobs:

- name: Build Chalk book
run: cd book && ./mdbook build

end-success:
name: bors build finished
if: success()
runs-on: ubuntu-latest
needs: [test, fmt]

steps:
- name: Mark the job as successful
run: exit 0

end-failure:
name: bors build finished
if: "!success()"
runs-on: ubuntu-latest
needs: [test, fmt]

steps:
- name: Mark the job as a failure
run: exit 1

0 comments on commit 239f10f

Please sign in to comment.