[FIX] Trigger publish workflow from auto-release (#47)#48
Merged
IISweetHeartII merged 1 commit intodevelopfrom Feb 19, 2026
Merged
[FIX] Trigger publish workflow from auto-release (#47)#48IISweetHeartII merged 1 commit intodevelopfrom
IISweetHeartII merged 1 commit intodevelopfrom
Conversation
…#47) GITHUB_TOKEN events don't trigger other workflows (GitHub Actions limitation), but workflow_dispatch is an exception. Add a step to explicitly trigger publish.yml after creating the release, and add actions: write permission needed for gh workflow run. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Description
Fix the auto-publish chain where
publish.ymlwas never triggered afterauto-release.ymlcreated a release. This is a known GitHub Actions limitation: events created with the defaultGITHUB_TOKENdo not trigger other workflows.The fix uses
gh workflow run publish.yml(workflow_dispatch), which is an exception to this limitation and works withGITHUB_TOKEN.Type of Change
Changes Made
auto-release.ymlthat callsgh workflow run publish.ymlafter creating a releaseactions: writepermission required bygh workflow runRelated Issues
Closes #47
Testing
publish.ymlalready hasworkflow_dispatchtriggerifcondition (steps.check.outputs.exists == 'false')Checklist