Skip to content

Commit ee0f9dc

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 601178a commit ee0f9dc

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
@@ -137,10 +137,18 @@ jobs:
137137
# Run the phase that triggers README.md update
138138
mvn -B validate
139139
140+
- name: Generate GitHub App token
141+
id: app-token
142+
uses: actions/create-github-app-token@v2
143+
with:
144+
app-id: ${{ secrets.CI_APP_ID }}
145+
private-key: ${{ secrets.CI_APP_PRIVATE_KEY }}
146+
140147
- name: Create Pull Request with next version
141148
id: cpr
142149
uses: peter-evans/create-pull-request@v8
143150
with:
151+
token: ${{ steps.app-token.outputs.token }}
144152
commit-message: "build(release): update to next development version"
145153
branch: chore/bump-version
146154
title: "chore: bump to next development version"

0 commit comments

Comments
 (0)