Skip to content

ci: trigger binary release on semrel tag push#24

Closed
mwaldheim wants to merge 1 commit into
mainfrom
fix/trigger-binary-release-on-tag
Closed

ci: trigger binary release on semrel tag push#24
mwaldheim wants to merge 1 commit into
mainfrom
fix/trigger-binary-release-on-tag

Conversation

@mwaldheim

Copy link
Copy Markdown
Contributor

Problem: After semrel creates a tag, release.yml is supposed to build binaries and publish a GitHub Release. However, tag pushes via GITHUB_TOKEN do not trigger other workflows (GitHub security restriction). As a result, tags v0.3.x exist but no GitHub Releases were created.

Fix: After the tag is pushed, explicitly dispatch release.yml for that tag via gh workflow run --ref $TAG. release.yml already supports workflow_dispatch, so this wires the two workflows together correctly.

GITHUB_TOKEN cannot trigger other workflows via tag push (GitHub security
restriction). Explicitly dispatch release.yml via `gh workflow run` so
binaries are built and GitHub Releases are created for every new semrel tag.
@mwaldheim mwaldheim closed this Jun 10, 2026
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.

1 participant