Skip to content

ci(release): trigger only on tag push#84

Merged
pjcdawkins merged 1 commit into
mainfrom
release-workflow-tag-push-only
May 20, 2026
Merged

ci(release): trigger only on tag push#84
pjcdawkins merged 1 commit into
mainfrom
release-workflow-tag-push-only

Conversation

@pjcdawkins
Copy link
Copy Markdown
Contributor

Summary

  • 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 instead of interpolating it directly into the run script.
  • Drop the now-dead conditionals on inputs.tag and inputs.upload_repos, and the unreachable "Build snapshot (branch)" step.

🤖 Generated with Claude Code

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>
Copilot AI review requested due to automatic review settings May 20, 2026 15:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_dispatch trigger and its tag, upload_taps, and upload_repos inputs.
  • Resolved the tag exclusively from github.ref_name (passed via env:) 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.

@pjcdawkins pjcdawkins merged commit c554029 into main May 20, 2026
8 checks passed
@pjcdawkins pjcdawkins deleted the release-workflow-tag-push-only branch May 20, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants