Repository navigation
Require approval before creating a release tag - #6961
Merged
Merged
Conversation
create-release-tag.yml is split into two jobs. verify runs the existing release commit checks and writes a summary for the approver. create-tag runs on the release environment, so it waits for a reviewer's approval before it pushes the tag and creates the GitHub Release. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The toolhive-release skill and its workflow reference now say that create-release-tag.yml waits for an approval on the release environment before it creates the tag and GitHub Release. Co-Authored-By: Claude Opus 5.5 <[email protected]>
eleftherias
requested review from
JAORMX,
jerm-dro,
jhrozek and
rdimitrov
as code owners
October 27, 2026 15:53
aponcedeleonch
previously approved these changes
Oct 28, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6961 +/- ##
==========================================
- Coverage 80.14% 80.13% -0.02%
==========================================
Files 845 845
Lines 85715 85715
==========================================
- Hits 68697 68687 -10
- Misses 17013 17023 +10
Partials 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
GITHUB_TOKEN only checks out the repository in this workflow. The tag push and the GitHub Release both use the release app token. Co-Authored-By: Claude Opus 5.5 <[email protected]>
aponcedeleonch
approved these changes
Oct 28, 2026
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
Adds an approval step to the release flow, so a release tag and GitHub Release are created only once a reviewer on the
releaseenvironment approves.create-release-tag.ymlis split into two jobs:verifyruns the existing release commit checks (semverVERSION, commit message,Release-Triggered-Bytrailer) and writes a job summary for the approver: version, commit, who triggered the release PR, and who merged it.create-tagruns on thereleaseenvironment. It waits for approval, then generates the release app token, pushes the tag and creates the GitHub Release, as before.create-tagreads the version and triggering actor fromverify's job outputs, so it tags the version that was checked.toolhive-releaseskill and its workflow reference describe the approval step.Type of change
Test plan
task test)task test-e2e)task lint-fix)Ran
actionlinton.github/workflows/create-release-tag.yml: no findings. The workflow runs only when a release PR merges, so the next release will exercise the approval step.Does this introduce a user-facing change?
For maintainers cutting a release:
create-taguntil a reviewer on thereleaseenvironment, other than the person who merged, approves it from the run page. Nothing is created until then.Special notes for reviewers
The
environment:is oncreate-tagitself rather than on a separate approval job, because it is the only job that writes anything.🤖 Generated with Claude Code