Repository navigation
Publish workflow: accept release tags on release ancestry - #2905
Merged
chalin merged 6 commits intoOct 30, 2026
Merged
Conversation
- Widens the pack job's ancestry check from main to main or release, the two branches the branch model releases from, so the documented patch-on-release path can publish - Names release's weaker protection and the controls that compensate for a tag there
- Drops the restated branch and ruleset facts from the step comment and step 15; the branch model page is their home
✅ Deploy Preview for docsydocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…ters - Leaves the check's why and one link; the branch model page owns the rest (r1.1, r1.3)
- Resolves both branches under refs/remotes/: a tag named origin/release would otherwise shadow the remote-tracking ref and pass an off-branch commit (r2.1) - Drops the comment sentence the step name already states (r2.3)
…angelog line - A one-line why in the step comment, so a later cleanup doesn't shorten the refs back (r3.5); the pointer takes the file's source-path form (r3.6) - For-maintainers changelog bullet, per the repo's content-placement rule (r3.7)
release ancestry
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.
releasepath:publish.yamlrefused any tag offmain's history, so a patch tagged onreleasecould never reach npmreleasebesidemainrefs/remotes/against tag shadowingrelease's protection, deliberately ungated (pre-existing)release: the workflow runs from the tagged commit, so a tag onreleasepublishes only oncereleasecarries this change (the next release frommain, or a patch PR's cherry-pick)