Repository navigation
fix: a dry run goes on past a changelog heading that says unreleased - #161
Merged
Merged
Conversation
release.yml's step "Release notes from the changelog" stopped every run whose version is headed `— unreleased`, a run from a branch included, so a dry run from main could not reach publish's approval between the commit that opens a version and the one that dates it. A tag still stops; a run from a branch now goes on with a warning and notes that say it is a dry run, as it does for a version with no section. Closes #151 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 16, 2026
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.
Closes #151
Problem
release.yml's step "Release notes from the changelog" stopped every run whose version is headed— unreleased, a dry run from a branch included.mainis in that state from the commit that opens a version to the one that dates it, so a dry run frommainstopped before Build, Pack, the pack checks and the SBOMs, and never reachedpublish's approval (#14). For a version with no section the step already let a branch run go on with a warning.Change
.github/workflows/release.yml: an undated heading stops a tag (GITHUB_REFisrefs/tags/v*) as before, with the same::error::. Any other run gets::warning::… A tag for $VERSION would stop here.and goes on, with notes that start(dry run: the changelog section of $VERSION has no date)followed by the section. The comment above the step says both cases.publish's condition is untouched.CLAUDE.md: the release section said a dry run stops at the heading; it now says what the step does.Tests
ReleaseWiringConventionTests.A_dry_run_whose_version_is_unreleased_goes_onruns the step throughWorkflowFile.RunStepwithGITHUB_REF=refs/heads/mainon a changelog headed— unreleased: exit 0, a warning, notes that say dry run first and carry the section with its links at the tag. The tag's refusal of the same heading stays held byA_tag_whose_version_has_no_dated_section_stops.Shown to fail without what they hold, each run against
ReleaseWiringConventionTests:mainA_dry_run_whose_version_is_unreleased_goes_on: "A run from a branch stopped at a version whose heading says 'unreleased'"A_tag_whose_version_has_no_dated_section_stops: "A tag for a version whose heading says 'unreleased' went on"A_dry_run_whose_version_is_unreleased_goes_on: "The notes of a dry run … do not say so first"Locally: the kernel's tests without
Integration(724 passed) andClaudeMdConsistencyTests(8 passed).🤖 Generated with Claude Code