Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Dec 9, 2025

Replace tibdex/github-app-token with actions/create-github-app-token

This PR addresses issue #10061 by replacing the archived tibdex/github-app-token action with actions/create-github-app-token.

Completed:

  • Located all instances of tibdex/github-app-token in the repository
  • Found 1 occurrence in .github/workflows/serverless-project.yml
  • Verified no custom actions use the deprecated action
  • Analyzed the current configuration format
  • Replaced tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a with actions/create-github-app-token@v2
  • Converted configuration format:
    • Changed app_id to app-id
    • Changed private_key to private-key
    • Converted permissions from JSON object to individual permission fields:
      • permission-checks: read
      • permission-contents: write
      • permission-pull-requests: write
    • Converted repositories from JSON array ["observability-test-environments"] to YAML list format
  • Validated YAML syntax is correct
  • Verified downstream token usage remains compatible (${{ steps.get_token.outputs.token }})

Files modified:

  • .github/workflows/serverless-project.yml - Updated GitHub App token generation step

Validation performed:

  • ✅ YAML syntax validation passed
  • ✅ Verified no more instances of tibdex/github-app-token remain
  • ✅ Confirmed output token name compatibility with downstream steps
  • ✅ All permission mappings correctly converted

The replacement follows the exact pattern provided in the issue description and maintains full functionality while using the supported actions/create-github-app-token action.

Fixes #10061.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


This is an automatic backport of pull request #10062 done by [Mergify](https://mergify.com).

…10062)

* Initial plan

* Replace tibdex/github-app-token with actions/create-github-app-token

Co-authored-by: v1v <2871786+v1v@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: v1v <2871786+v1v@users.noreply.github.com>
Co-authored-by: Francisco Ramon <francisco.ramon@elastic.co>
(cherry picked from commit 7d94314)
@mergify mergify bot added the backport label Dec 9, 2025
@mergify mergify bot requested review from a team as code owners December 9, 2025 07:53
@mergify mergify bot requested review from pchila and ycombinator and removed request for a team December 9, 2025 07:53
@v1v v1v merged commit 92effd1 into 9.2 Dec 9, 2025
14 checks passed
@v1v v1v deleted the mergify/bp/9.2/pr-10062 branch December 9, 2025 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants