Skip to content

Conversation

@drichar
Copy link
Contributor

@drichar drichar commented Jan 17, 2026

Summary

Updates the release workflow to use the TxnLab Release Bot GitHub App for generating tokens instead of the default GITHUB_TOKEN. This enables the bot to bypass branch protection rules when creating release commits and tags.

Changes

  • Token generation: Added new step using actions/create-github-app-token@v2 to generate a token from the TxnLab Release Bot GitHub App
  • Checkout: Updated to use the generated token and downgraded to actions/checkout@v4 for compatibility
  • Release step: Replaced secrets.GITHUB_TOKEN with the generated app token
  • Git identity: Updated author/committer from github-actions[bot] to TxnLab Release Bot[bot]

Replace default GitHub Actions token with TxnLab Release Bot GitHub App
for generating tokens. This enables the bot to bypass branch protection
rules when creating release commits and tags.

Changes:
- Add token generation step using actions/create-github-app-token@v2
- Pass generated token to checkout action
- Use generated token as GITHUB_TOKEN for semantic-release
- Update git author/committer to TxnLab Release Bot identity
@drichar drichar merged commit e14404e into main Jan 17, 2026
1 check passed
@drichar drichar deleted the chore/release-bot-token branch January 17, 2026 21:06
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.

2 participants