We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 725a14b commit c3a9fd7Copy full SHA for c3a9fd7
.github/workflows/ci.yml
@@ -74,3 +74,17 @@ jobs:
74
# Directory containing files to upload
75
path: |
76
target/release/examples
77
+
78
+ # NOTE: In GitHub repository settings, the "Require status checks to pass
79
+ # before merging" branch protection rule ensures that commits are only merged
80
+ # from branches where specific status checks have passed. These checks are
81
+ # specified manually as a list of workflow job names. Thus we use this extra
82
+ # job to signal whether all CI checks have passed.
83
+ ci:
84
+ name: CI status checks
85
+ runs-on: ubuntu-latest
86
+ needs: build
87
+ if: always()
88
+ steps:
89
+ - name: Check whether all jobs pass
90
+ run: echo '${{ toJson(needs) }}' | jq -e 'all(.result == "success")'
0 commit comments