Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 19, 2025

The tibdex/github-app-token action has been archived and is no longer maintained. This PR migrates all GitHub workflows to use the officially supported actions/create-github-app-token@v2 action instead.

Changes Made

Updated 4 workflow files to replace the deprecated action:

  • .github/workflows/addToProject.yml - organization_projects and issues permissions
  • .github/workflows/create-tag.yml - contents permission
  • .github/workflows/labeler.yml - members permission
  • .github/workflows/updatecli.yml - contents and pull_requests permissions

Migration Details

The migration follows the standard parameter conversion pattern:

  • app_idapp-id
  • private_keyprivate-key
  • JSON permissions object → individual permission-* fields

For example, this configuration:

uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
with:
  app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
  private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
  permissions: >-
    {
      "contents": "write",
      "pull_requests": "write"
    }

Becomes:

uses: actions/create-github-app-token@v2
with:
  app-id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
  private-key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
  permission-contents: write
  permission-pull-requests: write

All workflows retain their existing functionality while using the actively maintained action.

Fixes #378.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI assigned Copilot and v1v Sep 19, 2025
Copy link
Contributor Author

Copilot AI commented Sep 19, 2025

@v1v 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Copilot AI changed the title [WIP] Replace tibdex/github-app-token with actions/create-github-app-token Replace tibdex/github-app-token with actions/create-github-app-token Sep 19, 2025
Copilot AI requested a review from v1v September 19, 2025 15:34
@v1v v1v marked this pull request as ready for review September 22, 2025 10:30
@v1v v1v requested review from a team as code owners September 22, 2025 10:30
@v1v v1v enabled auto-merge (squash) September 22, 2025 10:43
Copy link

@fr4nc1sc0-r4m0n fr4nc1sc0-r4m0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@v1v v1v merged commit e09a0fd into main Sep 22, 2025
6 checks passed
@v1v v1v deleted the copilot/fix-378 branch September 22, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

4 participants