Repository navigation
fix(ci): keep the release chain running past a skipped approval - #1445
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.build(merge,verify-published-image,release-manifest,release-provenance,release-assets,promote) now states!cancelled()plus the results it depends on.scripts/__tests__/release-workflows.test.tswalks every workflow and fails when a job below a skippable job leaves the implicitsuccess()in place. It fails on the previousdocker-publish.ymland passes on this one. Aggregate jobs underalways()that check results in their steps (security.ymlquality) count as explicit.