Skip to content

ci: fix release-gate exit code and rename status to Release Checklist - #510

Merged
imantsk merged 2 commits into
corefrom
ci/release-gate-exit-code/core
Sep 1, 2026
Merged

ci: fix release-gate exit code and rename status to Release Checklist#510
imantsk merged 2 commits into
corefrom
ci/release-gate-exit-code/core

Conversation

@imantsk

@imantsk imantsk commented Sep 1, 2026

Copy link
Copy Markdown
Member

Follow-up to #509. Two changes to the release gate.

Exit code. The gate posts its verdict as a commit status, but the release-gate job always exited 0 — so on a failing verdict (a required check failed, wrong base branch, or unticked release-verification checkboxes) the status went red while the job check stayed green, reading as a false pass. The job now exits non-zero on a failure verdict (missing run-tests, a failing required check, wrong base branch, or unticked checkboxes). Deferrals (required suites still running) and successes still exit 0 and stay green.

Rename. The commit-status context is renamed from Release PR Gate to Release Checklist, along with the action name, step names, and comments. If a branch-protection required check references the old context name, update it to Release Checklist.

The gate posts its verdict as the Release PR Gate commit status, but the
release-gate job always exited 0, so a failing gate still showed a green
job check. Exit non-zero on a failure verdict (missing run-tests label,
a failing required check, wrong base branch, or unticked release
checkboxes) so the job matches the status. Deferrals and successes stay
green.
@imantsk imantsk changed the title ci: fail the release-gate job when the gate verdict is failure ci: fix release-gate exit code and rename status to Release Checklist Sep 1, 2026
@imantsk
imantsk merged commit 42d4bef into core Sep 1, 2026
11 checks passed
@imantsk
imantsk deleted the ci/release-gate-exit-code/core branch September 1, 2026 11:59
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