Skip to content

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

@rtibbles

Description

@rtibbles

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 9 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:

  • community-contribution-label.yml
  • contributor-issue-comment.yml
  • contributor-pr-reply.yml
  • holiday-message.yml
  • is-contributor.yml
  • manage-issue-header.yml
  • pr-statistics.yml
  • unassign-inactive-issues.yaml
  • update-pr-spreadsheet.yml

The Change

Replace tibdex/github-app-token@v2 with actions/create-github-app-token@v2 in all 9 workflows. The migration involves updating the uses line and renaming two inputs from underscores to hyphens (app_idapp-id, private_keyprivate-key). The output name (token) is unchanged, so no downstream references need updating.

Acceptance Criteria

  • All 9 workflows use actions/create-github-app-token@v2 instead of tibdex/github-app-token@v2
  • Input parameters updated from app_id/private_key to app-id/private-key
  • No remaining references to tibdex in the repository

References

🤖 This issue was written with AI assistance, under supervision, review and final edits by [@rtibbles] 🤖

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions