Skip to content

Commit

Permalink
chore(ci): add dummy check for all checks passing (#298)
Browse files Browse the repository at this point in the history
this job can be used to gate merging branches, rather than requiring the
individual checks in the GitHub branch protection UI. this allows us to
declare which jobs gate merging in this file, rather than out of band in
the UI.
  • Loading branch information
hawkw committed Aug 29, 2024
1 parent 415ed5b commit 5478197
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 @@ -35,6 +35,26 @@ env:
RUST_BACKTRACE: short

jobs:
# dummy job to indicate everything has passed.
#
# this is used to gate merging branches, rather than requiring the individual
# checks in the GitHub branch protection UI. this allows us to declare which
# jobs gate merging in this file, rather than out of band in the UI.
all_systems_go:
name: "all systems go!"
runs-on: ubuntu-latest
needs:
- check
- clippy
- build-bins
- test
- test-host-miri
- docs
- rustfmt
- netlify_dryrun
steps:
- run: exit 0

# run `just check`
check:
name: just check
Expand Down

0 comments on commit 5478197

Please sign in to comment.