Skip to content

Commit 68b9fc8

Browse files
authored
fix: migrate app-id to client-id in workflow app tokens (#92)
The `app-id` input for `actions/create-github-app-token@v3` is deprecated and will stop working when GitHub forces Node.js 24 (June 16, 2026). Migrate both workflows to use `client-id` with a repository variable (`vars.APP_CLIENT_ID`) instead of the numeric App ID secret. The Client ID is not sensitive (it is public on the App's settings page), so it is stored as a variable rather than a secret. Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
1 parent 4ed6802 commit 68b9fc8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/auto-approve.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.event.pull_request.user.login != 'patchloom-release[bot]'
3737
id: app-token
3838
with:
39-
app-id: ${{ secrets.APP_ID }}
39+
client-id: ${{ vars.APP_CLIENT_ID }}
4040
private-key: ${{ secrets.APP_PRIVATE_KEY }}
4141

4242
- name: Enable auto-merge

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
3131
id: app-token
3232
with:
33-
app-id: ${{ secrets.APP_ID }}
33+
client-id: ${{ vars.APP_CLIENT_ID }}
3434
private-key: ${{ secrets.APP_PRIVATE_KEY }}
3535
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
3636
id: release

0 commit comments

Comments
 (0)