Migrate from tibdex/github-app-token to actions/create-github-app-token

MSAL

Migrates from the deprecated tibdex/github-app-token@v2 to actions/create-github-app-token@v3, which runs on Node.js 24 instead of the deprecated Node.js 20. Renames the app_id, private_key, and github_api_url inputs to their kebab-case equivalents app-id, private-key, and github-api-url.

org.openrewrite.github.MigrateTibdexGitHubAppTokenToActions
mod run . --recipe=org.openrewrite.github.MigrateTibdexGitHubAppTokenToActions

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change GitHub Action
  2. Change key $.jobs..[?(@.uses =~ 'actions/create-github-app-token.*')].with.app_id to app-id
  3. Change key $.jobs..[?(@.uses =~ 'actions/create-github-app-token.*')].with.private_key to private-key
  4. Change key $.jobs..[?(@.uses =~ 'actions/create-github-app-token.*')].with.github_api_url to github-api-url