From 54781973d3035eba16f7d922a46745834f07e85b Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Thu, 26 Oct 2023 09:55:06 -0700 Subject: [PATCH] chore(ci): add dummy check for all checks passing (#298) 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. --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74d92457..e5326351 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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