Repository navigation
Let the action follow a release line with @v0 and @v0.1 - #14
Merged
Merged
Conversation
A major or minor ref (v0, v0.1), as the action's tag or the version input, installs the newest published vX.Y.Z release in that line. A new workflow moves those tags to each published release that is the newest in its line, and the Release workflow now only runs for vX.Y.Z tags so moving them does not start a release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Lets users write
uses: devblac/docker-lint@v0and get every compatible update without editing their workflow, as most published actions allow.v0,v0.1), either as the action's tag or asversion, installs the newest publishedvX.Y.Zrelease in that line. It sorts numerically, sov2picksv2.103.3overv2.9.0, andv2.9does not matchv2.90.x. Drafts and prereleases are skipped. When no release matches, the step fails with a clear error.vXandvX.Yto the release, but only if it is the newest in that line. A patch for an older line leaves newer tags alone.vX.Y.Ztags, so movingv0does not start a release. Tags pushed withGITHUB_TOKENdon't trigger workflows anyway, but someone could pushv0by hand.Testing
cli/clireleases:v2→ v2.103.3,v2.40→ v2.40.1,v2.9→ v2.9.0,v1→ v1.14.0, andv3→ none.@v0(fails with "no published release matches v0", as v0.1.1 is still a draft),@v0.1.1(downloads, verifies and installs) and a branch (falls back to the latest release).@v0on real runners. Both can be checked with v0.1.1. If this merges after v0.1.1 is published, run the workflow's steps once by hand, or createv0andv0.1at v0.1.1.🤖 Generated with Claude Code