Skip to content

fix(ci): keep the release chain running past a skipped approval - #1445

Merged
MBombeck merged 1 commit into
mainfrom
fix/release-chain-skip
Nov 23, 2026
Merged

MBombeck merged 1 commit into
mainfrom
fix/release-chain-skip

Conversation

@MBombeck

Copy link
Copy Markdown
Owner

The off-schedule approval job is skipped on every scheduled tag. GitHub skips a job whose dependency chain contains a skipped job unless the job's own condition replaces the implicit success(). On the first tag after the calendar gate landed, both platform builds ran and every job after them was skipped: no multi-arch manifest, no signature, no provenance, no release assets, and the run still showed success.

  • Every job after build (merge, verify-published-image, release-manifest, release-provenance, release-assets, promote) now states !cancelled() plus the results it depends on.
  • A guard in scripts/__tests__/release-workflows.test.ts walks every workflow and fails when a job below a skippable job leaves the implicit success() in place. It fails on the previous docker-publish.yml and passes on this one. Aggregate jobs under always() that check results in their steps (security.yml quality) count as explicit.

The off-schedule approval job is skipped on every scheduled tag. GitHub skips any job whose dependency chain contains a skipped job unless its own condition replaces the implicit success(), so on the first real tag every job after the builds was skipped: no multi-arch manifest, no signature, no provenance, no release assets, and the run still reported success. Every job after build now states its condition on the results it depends on. A guard walks every workflow and fails when a job below a skippable job leaves the implicit success() in place.
@MBombeck
MBombeck merged commit 32fda52 into main Nov 23, 2026
36 checks passed
@MBombeck
MBombeck deleted the fix/release-chain-skip branch November 23, 2026 08:24
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