From 4637a91e8b82b05ec2339eb2527601e4176a6ea7 Mon Sep 17 00:00:00 2001 From: Ivan Antsileuski Date: Tue, 24 Nov 2026 16:18:55 +0300 Subject: [PATCH] Use the bot's client ID and Node 24 actions in the API spec sync create-github-app-token warns that `app-id` is deprecated in favour of `client-id`; the client ID of the integrations bot App is public, so it is set in the workflow. checkout and setup-python move to v6, which run on Node 24 instead of the deprecated Node 20. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/sync-openapi.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync-openapi.yml b/.github/workflows/sync-openapi.yml index 24e955f..2abec7b 100644 --- a/.github/workflows/sync-openapi.yml +++ b/.github/workflows/sync-openapi.yml @@ -32,13 +32,13 @@ jobs: steps: # No credentials are kept in .git/config while third-party tools run; the bot token is minted only to push. - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ref: main fetch-depth: 0 persist-credentials: false - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" @@ -82,7 +82,8 @@ jobs: if: steps.sync.outputs.changed == 'true' uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0 with: - app-id: ${{ vars.INTEGRATIONS_BOT_APP_ID }} + # Public Client ID of the geonode-internal-integrations-bot App; `app-id` is deprecated in this action. + client-id: Iv23liVguZMcHwiYcaIm private-key: ${{ secrets.INTEGRATIONS_BOT_PRIVATE_KEY }} permission-contents: write permission-pull-requests: write