ci(release): trigger only on tag push#84
Merged
Conversation
Remove the workflow_dispatch trigger and its inputs (tag, upload_taps, upload_repos). The release workflow now runs solely from a v* tag push, which is already gated by the tag ruleset. Read github.ref_name via an env: block in the "Resolve tag" step. Drop the now-dead conditionals on inputs.tag and inputs.upload_repos, and the unreachable "Build snapshot (branch)" step. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR simplifies the release workflow so it only runs on v* tag pushes, removing manual dispatch inputs and related conditional logic to better align with tag ruleset-based gating.
Changes:
- Removed the
workflow_dispatchtrigger and itstag,upload_taps, andupload_reposinputs. - Resolved the tag exclusively from
github.ref_name(passed viaenv:) and removed dead conditionals relying on dispatch inputs. - Removed the unreachable snapshot build step and restricted repository uploads to non-prerelease tags only.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
workflow_dispatchtrigger and its inputs (tag,upload_taps,upload_repos). The release workflow now runs solely from av*tag push, which is already gated by the tag ruleset.github.ref_namevia anenv:block in the "Resolve tag" step instead of interpolating it directly into the run script.inputs.tagandinputs.upload_repos, and the unreachable "Build snapshot (branch)" step.🤖 Generated with Claude Code