Skip to content

Commit

Permalink
Merge pull request #306 from ZettaScaleLabs/add-ci-status-check
Browse files Browse the repository at this point in the history
fix: add ci status check
  • Loading branch information
milyin authored Dec 4, 2024
2 parents 14f491a + c3a9fd7 commit 5ed3ecb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,17 @@ jobs:
# Directory containing files to upload
path: |
target/release/examples
# NOTE: In GitHub repository settings, the "Require status checks to pass
# before merging" branch protection rule ensures that commits are only merged
# from branches where specific status checks have passed. These checks are
# specified manually as a list of workflow job names. Thus we use this extra
# job to signal whether all CI checks have passed.
ci:
name: CI status checks
runs-on: ubuntu-latest
needs: build
if: always()
steps:
- name: Check whether all jobs pass
run: echo '${{ toJson(needs) }}' | jq -e 'all(.result == "success")'

0 comments on commit 5ed3ecb

Please sign in to comment.