Skip to content

[FIX] Trigger publish workflow from auto-release (#21)#22

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

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

Conversation

@IISweetHeartII
Copy link
Contributor

Description

Fix the auto-publish chain where publish.yml was not triggered after auto-release.yml created a GitHub release. This is because GitHub Actions events created by GITHUB_TOKEN don't trigger other workflows, but workflow_dispatch is an exception to this limitation.

Type of Change

  • Bug fix

Changes Made

  • Added workflow_dispatch: trigger to publish.yml so it can be invoked via gh workflow run
  • Added a "Trigger publish workflow" step in auto-release.yml that runs gh workflow run publish.yml after creating a release, using the same condition (steps.check_tag.outputs.exists == 'false')

Related Issues

Closes #21

Testing

  • Manual review of workflow YAML syntax
  • Verified the workflow_dispatch trigger is a known exception to the GITHUB_TOKEN limitation

Checklist

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

…#21)

GITHUB_TOKEN events don't trigger other workflows, but workflow_dispatch
is an exception. Add workflow_dispatch trigger to publish.yml and a step
in auto-release.yml to invoke it after creating a release.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@IISweetHeartII IISweetHeartII merged commit 5cc18c2 into develop Feb 19, 2026
1 of 5 checks passed
@IISweetHeartII IISweetHeartII deleted the fix/auto-publish-chain-#21 branch February 19, 2026 16:19
@github-actions github-actions bot added the area: infrastructure CI/CD, deployment label Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: infrastructure CI/CD, deployment

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

Comments