ci(major-version-tag): workflow_dispatch fallback + harden#66
Merged
ChrisRackauckas merged 1 commit intoJun 5, 2026
Merged
Conversation
The tag-push run can get stuck/queued or fail, leaving the floating major tag (v1) stale even though a vX.Y.Z release exists. Add a workflow_dispatch trigger that re-points the major tag at a given release tag (or the latest vX.Y.Z), fetch tags in checkout, and resolve the commit via `git rev-list` so annotated tags are dereferenced correctly. Document the manual fallback in RELEASING.md and the README. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
v1moving-tag automation has been unreliable — runs forv1.2.0/v1.3.0got stuckqueuedandv1.0.0/v1.1.0failed, sov1can lag the latest release even though avX.Y.Zexists.This hardens
major-version-tag.yml:workflow_dispatchfallback — run it manually (optionally pass the release tag; defaults to the latestvX.Y.Z) to re-pointvXwhen the tag-push run doesn't fire.fetch-tags: true+git rev-listto resolve the release commit, so annotated tags (likev1.3.0) are dereferenced correctly.Note: the underlying stuck-queued behavior looks like an org Actions/runner setting (not something the workflow controls); the manual trigger is the escape hatch. Also documents the fallback (and a by-hand
git tag -f) in RELEASING.md + README.actionlintclean.🤖 Generated with Claude Code