Skip to content

Commit e5f4503

Browse files
HoTT-stuffclaude
andcommitted
fix(ci): name the gate job CI/gate so it matches the required check
Required status checks match the check-run name, which for a workflow job is its name: field. The job reported as 'gate', so the Branch-Floor rule's 'CI/gate' context still never matched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7Zo5h4xmXVEeSeQEDvw
1 parent d3bd6eb commit e5f4503

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -417,11 +417,13 @@ jobs:
417417
echo "smoke-parsed: ${fixtures[0]}"
418418
419419
# Single required check. The `Branch-Floor` ruleset on main requires the
420-
# status `CI/gate`; it passes only when every job above succeeded (a skipped
421-
# job counts as passing, a failed or cancelled one does not). Add any new CI
422-
# job to `needs:` here, or the ruleset will not wait for it.
420+
# status `CI/gate` by check-run name, which is this job's `name:` (not the
421+
# job id), so the name must stay exactly `CI/gate`. It passes only when every
422+
# job above succeeded (a skipped job counts as passing, a failed or cancelled
423+
# one does not). Add any new CI job to `needs:` here, or the ruleset will not
424+
# wait for it.
423425
gate:
424-
name: gate
426+
name: CI/gate
425427
if: always()
426428
needs: [build, lint, bench-visibility, coverage-visibility, vscode-smoke, migration-assistant]
427429
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)