Skip to content

Commit bccb7d4

Browse files
jasperboerhofclaude
authored andcommitted
ci: add ci-passed aggregate check for the town-crier trial (TC-0069)
The town-crier bus mirrors each PR's CI verdict by matching exactly one check-run name, case-sensitively: ci-passed. This repo's CI only emitted the matrix legs check (8.4)/check (8.5) with no aggregate, so its PRs never got a trial verdict. Add a ci-passed job that waits on all check matrix legs (needs: [check], if: always()) and fails when any leg's result is failure or cancelled. Intended as the repo's single required status check post-merge. Additive-only; the check job is untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BrZ64qwG8ytbTdMV25WTX4
1 parent 0c43653 commit bccb7d4

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,17 @@ jobs:
3737

3838
- name: Tests
3939
run: composer test
40+
41+
# Aggregate tracked by the town-crier trial (TC-0069), intended as the single
42+
# required check (the matrix legs stop being individually required).
43+
ci-passed:
44+
name: ci-passed
45+
runs-on: ubuntu-latest
46+
needs: [check]
47+
if: always()
48+
steps:
49+
- name: Verify all lanes passed
50+
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
51+
run: |
52+
echo "One or more CI lanes did not pass."
53+
exit 1

0 commit comments

Comments
 (0)