Skip to content

ci: make All Checks Passed gate fail instead of skip#1592

Merged
omercnet merged 2 commits into
mainfrom
claude/pr-1584-merge-investigation-3cxte1
Jun 27, 2026
Merged

ci: make All Checks Passed gate fail instead of skip#1592
omercnet merged 2 commits into
mainfrom
claude/pr-1584-merge-investigation-3cxte1

Conversation

@omercnet

Copy link
Copy Markdown
Member

The required status check All Checks Passed (job done) used an if
condition that evaluated false whenever a dependency failed, causing the
job to be skipped. Branch protection treats a skipped required check as
satisfied, so failing PRs could merge (e.g. #1584).

Run the job unconditionally and explicitly exit 1 when any dependency
fails or is cancelled, so the gate reports a real failure conclusion.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01MZttWkoiN7iRQqRSzyDM77

The required status check `All Checks Passed` (job `done`) used an `if`
condition that evaluated false whenever a dependency failed, causing the
job to be skipped. Branch protection treats a skipped required check as
satisfied, so failing PRs could merge (e.g. #1584).

Run the job unconditionally and explicitly exit 1 when any dependency
fails or is cancelled, so the gate reports a real failure conclusion.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MZttWkoiN7iRQqRSzyDM77
@shuni-bot-dev

shuni-bot-dev Bot commented Jun 27, 2026

Copy link
Copy Markdown

🐕 Review complete — View session on Shuni Portal 🐾

@omercnet omercnet requested a review from dorsha June 27, 2026 08:24

@shuni-bot-dev shuni-bot-dev Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐕 Shuni's Review

Makes the All Checks Passed gate run unconditionally and explicitly exit 1 when any dependency failed or was cancelled, so branch protection sees a real failure instead of a skip.

No issues found — good bones! The if: always() + explicit failure step is the correct GitHub Actions pattern for this gate. Woof!

@github-actions

Copy link
Copy Markdown

Coverage report

The coverage rate went from 98.04% to 98.04% ➡️

None of the new lines are part of the tested code. Therefore, there is no coverage data about them.

@omercnet omercnet merged commit 61618d8 into main Jun 27, 2026
34 checks passed
@omercnet omercnet deleted the claude/pr-1584-merge-investigation-3cxte1 branch June 27, 2026 08:41
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.

3 participants