Skip to content

ci: add stable ci-success gate for branch protection - #17

Merged
star7js merged 1 commit into
mainfrom
fix/ci-required-check
Jul 6, 2026
Merged

ci: add stable ci-success gate for branch protection#17
star7js merged 1 commit into
mainfrom
fix/ci-required-check

Conversation

@star7js

@star7js star7js commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Problem

Branch protection on main required a status check named test, but the matrix job actually reports as test (macos-latest, 3.12). The names never matched, so the required check was never satisfied and every PR was unmergeable without admin (e.g. #16 had to be admin-merged despite green CI).

Fix

  • Add a lightweight ci-success aggregator job (needs: [test, lint], ubuntu, runs in seconds) with a stable name that branch protection can require, independent of the test matrix / Python versions.
  • Drop the trigger-level paths-ignore. A required check that gets skipped for docs-only changes would itself block those PRs; running the fast gate unconditionally avoids that footgun.

After this merges, branch protection is updated to require ci-success instead of test, and normal PRs merge without admin.

Note

This PR runs the new workflow, so it produces the ci-success check itself — merging it normally validates the fix end-to-end.

🤖 Generated with Claude Code

The branch protection required check was named `test`, but the matrix job
reports as `test (macos-latest, 3.12)`, so the required context never
matched and every PR was unmergeable without admin.

Add a lightweight `ci-success` aggregator job (needs: test, lint) with a
stable name for branch protection to require, independent of the matrix.
Drop the trigger-level paths-ignore so the gate always reports (a required
check that is skipped for docs-only changes would otherwise block those PRs).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@star7js
star7js merged commit 145175b into main Jul 6, 2026
11 checks passed
@star7js
star7js deleted the fix/ci-required-check branch July 6, 2026 08:44
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.

2 participants