Skip to content

[FIX] Trigger publish workflow from auto-release (#47)#48

Merged
IISweetHeartII merged 1 commit intodevelopfrom
fix/auto-publish-chain-#47
Feb 19, 2026
Merged

[FIX] Trigger publish workflow from auto-release (#47)#48
IISweetHeartII merged 1 commit intodevelopfrom
fix/auto-publish-chain-#47

Conversation

@IISweetHeartII
Copy link
Contributor

Description

Fix the auto-publish chain where publish.yml was never triggered after auto-release.yml created a release. This is a known GitHub Actions limitation: events created with the default GITHUB_TOKEN do not trigger other workflows.

The fix uses gh workflow run publish.yml (workflow_dispatch), which is an exception to this limitation and works with GITHUB_TOKEN.

Type of Change

  • Bug fix

Changes Made

  • Added "Trigger publish workflow" step to auto-release.yml that calls gh workflow run publish.yml after creating a release
  • Added actions: write permission required by gh workflow run

Related Issues

Closes #47

Testing

  • Manual testing performed
  • Verified publish.yml already has workflow_dispatch trigger
  • Verified the new step has the correct if condition (steps.check.outputs.exists == 'false')

Checklist

  • My code follows the project's code style
  • I have performed a self-review of my code
  • My changes generate no new warnings

…#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>
@IISweetHeartII IISweetHeartII merged commit ee6e3ca into develop Feb 19, 2026
2 of 3 checks passed
@IISweetHeartII IISweetHeartII deleted the fix/auto-publish-chain-#47 branch February 19, 2026 16:19
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.

Fix auto-publish chain: GITHUB_TOKEN doesn't trigger publish workflow

1 participant