We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77cceb8 + cc5f99b commit 2027987Copy full SHA for 2027987
1 file changed
.github/workflows/ci.yml
@@ -5,6 +5,7 @@ on:
5
branches: [main]
6
pull_request:
7
8
+ merge_group:
9
10
env:
11
CARGO_TERM_COLOR: always
@@ -74,3 +75,20 @@ jobs:
74
75
- run: chmod +x /usr/local/bin/cfsrun /usr/local/bin/cfsctl
76
- name: Run rootful integration tests
77
run: cargo test --test integration
78
+
79
+ required-checks:
80
+ name: Required Checks
81
+ if: always()
82
+ needs: [fmt, build, integration-rootful]
83
+ runs-on: ubuntu-24.04
84
+ steps:
85
+ - name: Check all jobs
86
+ env:
87
+ NEEDS: ${{ toJson(needs) }}
88
+ run: |
89
+ FAILED=$(echo "$NEEDS" | jq -r 'to_entries[] | select(.value.result | IN("success","skipped") | not) | .key')
90
+ if [ -n "$FAILED" ]; then
91
+ echo "The following jobs did not succeed: $FAILED"
92
+ exit 1
93
+ fi
94
+ echo "All jobs succeeded or were skipped."
0 commit comments