Replace tibdex/github-app-token with actions/create-github-app-token#6219
Merged
Conversation
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 <cwperx@amazon.com>
Contributor
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 4babfae.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
DarshitChanpura
approved these changes
Jun 23, 2026
RyanL1997
approved these changes
Jun 24, 2026
Signed-off-by: Craig Perkins <cwperx@amazon.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
tibdex/github-app-tokenaction is failing with:This is caused by:
installation_idinput being deprecated/ignored in newer versionsThis PR replaces
tibdex/github-app-token@v2.1.0with the official GitHub first-party actionactions/create-github-app-token@v3across all 4 affected workflows:dependabot_pr.ymlbackport.ymlauto-release.ymlautomatic-merges.ymlThe official action auto-discovers the installation from the repository context (no hardcoded
installation_idneeded) and supports Node.js 24.This aligns with what
opensearch-java,opensearch-net, andopensearch-rshave already migrated to.Testing
The
actions/create-github-app-tokenaction uses the same secrets (APP_ID,APP_PRIVATE_KEY) and produces the same output (steps.github_app_token.outputs.token), so downstream steps require no changes.