Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Sep 19, 2025

The tibdex/github-app-token action has been archived and is no longer maintained. This PR migrates to the official actions/create-github-app-token action which provides the same functionality.

Changes Made

Updated Workflows

  • .github/workflows/addToProject.yml
  • .github/workflows/updatecli.yml

Migration Details

  • Action: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73aactions/create-github-app-token@v2
  • Parameters: Updated to new format (app_idapp-id, private_keyprivate-key)
  • Permissions: Converted from JSON object to individual permission parameters

Before

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"
    }

After

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

Benefits

  • Uses an actively maintained, official GitHub action
  • Cleaner, more readable permission configuration
  • Future-proof against deprecation warnings
  • Maintains all existing functionality

The token output mechanism (${{ steps.get_token.outputs.token }}) remains unchanged, ensuring seamless compatibility with existing workflows.

Fixes #1592.


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

@Copilot Copilot AI assigned Copilot and v1v Sep 19, 2025
Copy link
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 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 Copilot AI requested a review from v1v September 19, 2025 15:00
@v1v
Copy link
Member

v1v commented Sep 19, 2025

@copilot finish the PR, it's still marked as WIP in the description

Copy link
Author

Copilot AI commented Sep 19, 2025

@copilot finish the PR, it's still marked as WIP in the description

The PR is complete and ready for merge. All tibdex/github-app-token references have been successfully replaced with actions/create-github-app-token@v1, the YAML syntax is valid, and the permission mappings are correct. Changes are in commit 42bb380.

Copilot finished work on behalf of v1v September 19, 2025 19:12
- name: Get token
id: get_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
uses: actions/create-github-app-token@v1
Copy link
Member

Choose a reason for hiding this comment

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

@copilot use v2

Copy link
Author

Choose a reason for hiding this comment

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

Updated to use actions/create-github-app-token@v2 in commit 908f673.

- name: Get token
id: get_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
uses: actions/create-github-app-token@v1
Copy link
Member

Choose a reason for hiding this comment

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

@copilot use v2

Copy link
Author

Choose a reason for hiding this comment

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

Updated to use actions/create-github-app-token@v2 in commit 908f673.

@v1v v1v marked this pull request as ready for review September 23, 2025 10:30
@v1v v1v requested a review from a team as a code owner September 23, 2025 10:30
Copilot finished work on behalf of v1v September 23, 2025 10:33
@Copilot Copilot AI requested a review from v1v September 23, 2025 10:33
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

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
3 participants