From b1c4afaeb7002e35b4457caec459b4e2f814f331 Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Mon, 8 Jun 2026 08:09:17 -0700 Subject: [PATCH] Migrate deprecated app-id to client-id for GitHub App token actions/create-github-app-token deprecated the numeric app-id input in v3.0.0; the scheduled and codegen runs emit 'Input app-id has been deprecated'. Switch all four call sites (3 in merge-bot-pull-request.yml, 1 in run-codegen-pull-request-task.yml) to client-id. The CODEGEN_APP_CLIENT_ID secret already holds the App Client ID, so no secrets change is needed. --- .github/workflows/merge-bot-pull-request.yml | 6 +++--- .github/workflows/run-codegen-pull-request-task.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/merge-bot-pull-request.yml b/.github/workflows/merge-bot-pull-request.yml index d31883e..4508d5c 100644 --- a/.github/workflows/merge-bot-pull-request.yml +++ b/.github/workflows/merge-bot-pull-request.yml @@ -88,7 +88,7 @@ jobs: id: app-token uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: - app-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }} + client-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }} private-key: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }} - name: Get dependabot metadata step @@ -151,7 +151,7 @@ jobs: id: app-token uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: - app-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }} + client-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }} private-key: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }} - name: Merge pull request step @@ -204,7 +204,7 @@ jobs: id: app-token uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: - app-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }} + client-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }} private-key: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }} - name: Disable auto-merge step diff --git a/.github/workflows/run-codegen-pull-request-task.yml b/.github/workflows/run-codegen-pull-request-task.yml index d70a93c..8732c56 100644 --- a/.github/workflows/run-codegen-pull-request-task.yml +++ b/.github/workflows/run-codegen-pull-request-task.yml @@ -46,7 +46,7 @@ jobs: id: app-token uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: - app-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }} + client-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }} private-key: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }} - name: Setup .NET SDK step