From ee0f9dcb06cf2401eadfb1fe2eb72bc548e5913e Mon Sep 17 00:00:00 2001 From: Ruben Romero Montes Date: Thu, 23 Apr 2026 17:07:37 +0200 Subject: [PATCH] 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 --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9eae97df..c300f972 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -137,10 +137,18 @@ jobs: # Run the phase that triggers README.md update mvn -B validate + - name: Generate GitHub App token + id: app-token + uses: actions/create-github-app-token@v2 + with: + app-id: ${{ secrets.CI_APP_ID }} + private-key: ${{ secrets.CI_APP_PRIVATE_KEY }} + - name: Create Pull Request with next version id: cpr uses: peter-evans/create-pull-request@v8 with: + token: ${{ steps.app-token.outputs.token }} commit-message: "build(release): update to next development version" branch: chore/bump-version title: "chore: bump to next development version"