From 02b1050a8e37cf147718d475e09e84c3b8084263 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Tue, 16 Jun 2026 10:01:22 -0400 Subject: [PATCH] Replace tibdex/github-app-token with actions/create-github-app-token The tibdex/github-app-token action fails with 'Could not retrieve installation' (404) due to the deprecated installation_id input and Node.js 20 deprecation. Replace with the official GitHub first-party action (actions/create-github-app-token v3) which auto-discovers the installation and supports Node.js 24. This aligns with opensearch-java, opensearch-net, and opensearch-rs. Signed-off-by: Craig Perkins --- .github/workflows/auto-release.yml | 7 +++---- .github/workflows/automatic-merges.yml | 7 +++---- .github/workflows/backport.yml | 7 +++---- .github/workflows/dependabot_pr.yml | 7 +++---- 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 477711ad96..438e32c3a6 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -13,11 +13,10 @@ jobs: steps: - name: GitHub App token id: github_app_token - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3 with: - app_id: ${{ secrets.APP_ID }} - private_key: ${{ secrets.APP_PRIVATE_KEY }} - installation_id: 22958780 + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Get tag id: tag uses: dawidd6/action-get-tag@727a6f0a561be04e09013531e73a3983a65e3479 # v1 diff --git a/.github/workflows/automatic-merges.yml b/.github/workflows/automatic-merges.yml index 82d620333d..1c4f2e191d 100644 --- a/.github/workflows/automatic-merges.yml +++ b/.github/workflows/automatic-merges.yml @@ -16,11 +16,10 @@ jobs: - name: GitHub App token id: github_app_token - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3 with: - app_id: ${{ secrets.APP_ID }} - private_key: ${{ secrets.APP_PRIVATE_KEY }} - installation_id: 22958780 + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} - id: find-triggering-pr uses: peternied/find-triggering-pr@ebe6a5ff5d5edfdf31b1f8aca20f89167c57bbef # v1 diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index e0a0f37c44..135e4bca02 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -16,11 +16,10 @@ jobs: steps: - name: GitHub App token id: github_app_token - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3 with: - app_id: ${{ secrets.APP_ID }} - private_key: ${{ secrets.APP_PRIVATE_KEY }} - installation_id: 22958780 + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Backport uses: VachaShah/backport@142d3b8a8c70dc54db515e653e5ed3c3fac64100 # v2.2.0 diff --git a/.github/workflows/dependabot_pr.yml b/.github/workflows/dependabot_pr.yml index c76d9a40c1..46bd7b6086 100644 --- a/.github/workflows/dependabot_pr.yml +++ b/.github/workflows/dependabot_pr.yml @@ -15,11 +15,10 @@ jobs: steps: - name: GitHub App token id: github_app_token - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3 with: - app_id: ${{ secrets.APP_ID }} - private_key: ${{ secrets.APP_PRIVATE_KEY }} - installation_id: 22958780 + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Fetch Dependabot metadata id: dependabot-metadata