Skip to content

Commit 9ccd9e3

Browse files
ruromeroclaude
andcommitted
ci: use GitHub App token for release bump PR
The post-release version bump PR created by github-actions[bot] using GITHUB_TOKEN does not trigger CI checks (GitHub's anti-recursion rule). Use a GitHub App token instead so the PR triggers the Build workflow. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c109362 commit 9ccd9e3

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,18 @@ jobs:
134134
# Run the phase that triggers README.md update
135135
mvn -B validate
136136
137+
- name: Generate GitHub App token
138+
id: app-token
139+
uses: actions/create-github-app-token@v2
140+
with:
141+
app-id: ${{ secrets.CI_APP_ID }}
142+
private-key: ${{ secrets.CI_APP_PRIVATE_KEY }}
143+
137144
- name: Create Pull Request with next version
138145
id: cpr
139146
uses: peter-evans/create-pull-request@v8
140147
with:
148+
token: ${{ steps.app-token.outputs.token }}
141149
commit-message: "build(release): update to next development version"
142150
branch: chore/bump-version
143151
title: "chore: bump to next development version"

0 commit comments

Comments
 (0)