Migrate from tibdex/github-app-token to actions/create-github-app-token
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Migrate all GitHub Actions workflows from the deprecated tibdex/github-app-token action to the official actions/create-github-app-token replacement.
Complexity: Low
Context
All 3 workflows in this repo use tibdex/github-app-token@v2 with the same pattern:
- uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.LE_BOT_APP_ID }}
private_key: ${{ secrets.LE_BOT_PRIVATE_KEY }}
Affected workflows:
add_contributor.ymli18n-download.ymlupdate_h5p.yml
The Change
Replace tibdex/github-app-token@v2 with actions/create-github-app-token@v2 in all 3 workflows. The migration involves updating the uses line and renaming two inputs from underscores to hyphens (app_id → app-id, private_key → private-key). The output name (token) is unchanged, so no downstream references need updating.
Acceptance Criteria
- [ ] All 3 workflows use
actions/create-github-app-token@v2instead oftibdex/github-app-token@v2 - [ ] Input parameters updated from
app_id/private_keytoapp-id/private-key - [ ] No remaining references to
tibdexin the repository
References
- Replacement action: https://github.com/actions/create-github-app-token
🤖 This issue was written with AI assistance, under supervision, review and final edits by [@rtibbles] 🤖
Implementation Plan
Single-phase change — update 3 GitHub Actions workflow files to migrate from the deprecated tibdex/github-app-token@v2 to the official actions/create-github-app-token@v2.
Files to modify
.github/workflows/add_contributor.yml.github/workflows/i18n-download.yml.github/workflows/update_h5p.yml
Changes per file
- Replace
uses: tibdex/github-app-token@v2→uses: actions/create-github-app-token@v2 - Rename input
app_id→app-id - Rename input
private_key→private-key - Output name (
token) is unchanged — no downstream updates needed
Verification
- Grep the repo for any remaining
tibdexreferences - Validate YAML syntax via pre-commit hooks
Progress: Phase 1 Complete — Workflow Migration
All 3 workflow files have been migrated from tibdex/github-app-token@v2 to actions/create-github-app-token@v2:
Changes made
| File | Change |
|---|---|
.github/workflows/add_contributor.yml |
uses: updated, app_id → app-id, private_key → private-key |
.github/workflows/i18n-download.yml |
uses: updated, app_id → app-id, private_key → private-key |
.github/workflows/update_h5p.yml |
uses: updated, app_id → app-id, private_key → private-key |
Verification
- No remaining
tibdexreferences —grep -r tibdex .github/returns 0 matches - YAML syntax valid —
pre-commit run check-yamlpasses on all 3 files - Pre-commit hooks pass — trailing-whitespace, check-yaml, end-of-file-fixer all pass
- Output name unchanged — all downstream
steps.generate-token.outputs.tokenreferences remain valid sinceactions/create-github-app-token@v2uses the sametokenoutput name
Commit: 4fda0c78b3 on branch issue-14205-046807
Self-review completed for the tibdex/github-app-token → actions/create-github-app-token migration.
What the self-review found:
- No blocking issues, no suggestions
- All 3 workflows correctly migrated with matching input parameter renames (
app_id→app-id,private_key→private-key) - Output name
tokenis unchanged — all downstream references remain valid - YAML lint, trailing whitespace, and end-of-file checks all pass
- No remaining
tibdexreferences in the repo
What was fixed: Nothing — the implementation was clean on first pass.
Remaining concerns: None.
Fixed in #14206