Skip to content

ci: allow manually dispatching the release workflow - #3

Merged
Athenox14 merged 1 commit into
mainfrom
claude/iris-claude-mentions-uncny6
Jul 13, 2026
Merged

ci: allow manually dispatching the release workflow#3
Athenox14 merged 1 commit into
mainfrom
claude/iris-claude-mentions-uncny6

Conversation

@Athenox14

@Athenox14 Athenox14 commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • The release workflow (.github/workflows/release.yml) only triggered on push: tags: v*. This session's git write access doesn't have permission to push tags (only to its assigned branch), so there was no way to cut a release without a maintainer pushing the tag manually.
  • Adds a workflow_dispatch trigger with a required version input (e.g. v1.1.0). The release job falls back to github.event.inputs.version when the run wasn't triggered by an actual tag push (in which case github.ref_name is a branch name, not a tag), and passes it explicitly as tag_name/name to softprops/action-gh-release — which creates the tag pointing at the dispatched ref if it doesn't already exist.
  • The existing tag-push trigger is untouched, so pushing a v* tag still works exactly as before.

Changes

  • .github/workflows/release.yml: added workflow_dispatch.inputs.version, a Determine release tag step, and passed the resolved tag as tag_name/name to the release step.

Test plan

  • Validated the YAML with python3 -c "import yaml; yaml.safe_load(open('.github/workflows/release.yml'))".
  • After merge, dispatch the workflow with version: v1.1.0 against main and confirm it publishes a v1.1.0 release with all three platform binaries attached.

Lets a release be published without needing tag-push permission on the git
remote: workflow_dispatch takes the version as an input, and the release
step falls back to it when the run wasn't triggered by an actual tag push
(github.ref_name would otherwise be the branch name).
@Athenox14
Athenox14 merged commit c31b410 into main Jul 13, 2026
3 checks passed
@Athenox14
Athenox14 deleted the claude/iris-claude-mentions-uncny6 branch July 13, 2026 19:23
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