From 3bfd91e33039b52b5a732c6d7ec7c6fe35eaed69 Mon Sep 17 00:00:00 2001 From: Joseph Mearman Date: Sat, 19 Sep 2026 19:20:45 +0100 Subject: [PATCH] ci: pass the exadev App client ID to create-github-app-token instead of the deprecated app-id actions/create-github-app-token@v3 deprecated its app-id input in favour of client-id. The client ID is public, so it is written inline, matching documents.js, instead of being read from the GH_APP_ID secret. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5aa1a31..00d7832 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,12 +125,12 @@ jobs: pull-requests: write id-token: write steps: - # Minted before checkout, not after: @semantic-release/git's changelog commit-back needs a real `git push` against main, which the branch ruleset refuses for the workflow's own token — only the exadev App is a permitted bypasser. Generating it first lets checkout itself configure git's credentials with it. Uses GH_APP_ID/GH_APP_PRIVATE_KEY specifically: secrets.APP_ID/APP_PRIVATE_KEY authenticates as a different app (exaclaude) which the branch ruleset's bypass list doesn't name. + # Minted before checkout, not after: @semantic-release/git's changelog commit-back needs a real `git push` against main, which the branch ruleset refuses for the workflow's own token — only the exadev App is a permitted bypasser. Generating it first lets checkout itself configure git's credentials with it. Uses the exadev App's client ID with GH_APP_PRIVATE_KEY specifically: secrets.APP_ID/APP_PRIVATE_KEY authenticates as a different app (exaclaude) which the branch ruleset's bypass list doesn't name. - name: Generate ExaDev App token id: app-token uses: actions/create-github-app-token@v3 with: - app-id: ${{ secrets.GH_APP_ID }} + client-id: Iv23liLMzahHqi38Qo4c private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} owner: ExaDev repositories: cc-peer