Skip to content

ci: add stable ci-success status gate job - #71

Closed
rahilsh wants to merge 1 commit into
mainfrom
ci/add-status-gate
Closed

ci: add stable ci-success status gate job#71
rahilsh wants to merge 1 commit into
mainfrom
ci/add-status-gate

Conversation

@rahilsh

@rahilsh rahilsh commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Problem

Every PR was stuck on Java CI with Maven — Expected — Waiting for status to be reported.

The branch ruleset required a status check context named Java CI with Maven (the workflow name), but GitHub Actions reports checks per job, i.e. build (21) (job build + matrix 21). The workflow name is never emitted as a status context, so the required check never arrived and merging was blocked indefinitely.

Fix

  • Add an aggregation gate job ci-success that needs: build and reports a single, matrix-independent status check.
  • The default-branch ruleset has been updated to require ci-success instead of Java CI with Maven.

Follow-up

Existing open PRs need to be rebased onto main to pick up the ci-success job (e.g. comment @dependabot rebase on dependabot PRs).

The branch ruleset required a status check named 'Java CI with Maven'
(the workflow name), but Actions reports checks per job as 'build (21)'.
That context was never produced, so PRs got stuck forever on
'Expected — Waiting for status to be reported'.

Add an aggregation job 'ci-success' that depends on 'build' and exposes
a single, matrix-independent required check. The ruleset now requires
'ci-success' instead.
@rahilsh

rahilsh commented Aug 10, 2026

Copy link
Copy Markdown
Owner Author

Superseded — pushing the ci-success gate directly onto the PR branch (#65) instead.

@rahilsh rahilsh closed this Aug 10, 2026
@rahilsh
rahilsh deleted the ci/add-status-gate branch August 10, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant