Skip to content

Use GitHub App token for release workflow CI triggers#15

Merged
kosinal merged 1 commit intomasterfrom
feature/gh-app-release
Feb 23, 2026
Merged

Use GitHub App token for release workflow CI triggers#15
kosinal merged 1 commit intomasterfrom
feature/gh-app-release

Conversation

@kosinal
Copy link
Owner

@kosinal kosinal commented Feb 23, 2026

Summary

  • Use a GitHub App token (via actions/create-github-app-token@v1) instead of GITHUB_TOKEN for git push and PR creation in the release-version-sync workflow
  • Fixes CI not triggering on bot-created release PRs — GitHub suppresses workflow triggers for events created by GITHUB_TOKEN to prevent infinite loops
  • Both push (triggers pull_request: synchronize) and gh pr create (triggers pull_request: opened) now use the App token so CI runs in all cases

Test plan

  • Push a test release branch (e.g. release/0.0.5) and verify the Release Version Sync workflow runs
  • Verify CI triggers on the newly created PR
  • Verify status checks appear on the PR

🤖 Generated with Claude Code

Events created by GITHUB_TOKEN are intentionally suppressed by GitHub
to prevent infinite loops, which means CI never triggers on bot-created
release PRs. Switch to a GitHub App token for both git push and PR
creation so that pull_request events (opened/synchronize) fire and
trigger CI workflows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kosinal kosinal enabled auto-merge (rebase) February 23, 2026 19:17
@kosinal kosinal merged commit 5d62a41 into master Feb 23, 2026
6 checks passed
@kosinal kosinal deleted the feature/gh-app-release branch February 23, 2026 19:17
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