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 replaces it with the official actions/create-github-app-token action across all GitHub workflows.

Changes Made

✅ Updated three workflow files to use the new action:

  • .github/workflows/create-tag.yml
  • .github/workflows/labeler.yml
  • .github/workflows/updatecli.yml

Migration Details

For each workflow, the following changes were applied:

Action Reference:

  • tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73aactions/create-github-app-token@v2

Parameter Updates:

  • app_idapp-id
  • private_keyprivate-key

Permissions Format:

  • JSON object format → Individual permission-* parameters

Example transformation:

# 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

✅ Validation Completed

  • All YAML files have valid syntax
  • No remaining references to tibdex/github-app-token found
  • All files now properly use actions/create-github-app-token@v2
  • Token output (${{ steps.get_token.outputs.token }}) remains unchanged and compatible

The token output remains unchanged and all existing functionality is preserved. This migration ensures continued compatibility while using the officially maintained GitHub action.

Fixes #420.


💬 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.

…in all workflows

Co-authored-by: v1v <2871786+v1v@users.noreply.github.com>
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:19
@v1v
Copy link
Member

v1v commented Sep 19, 2025

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

Copy link
Contributor Author

Copilot AI commented Sep 19, 2025

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

Done! I've completed the PR and updated the description to clearly show all work is finished. The migration from tibdex/github-app-token to actions/create-github-app-token is complete across all three workflow files with proper validation.

@v1v v1v marked this pull request as ready for review September 19, 2025 20:11
@v1v v1v requested a review from a team as a code owner September 19, 2025 20:11
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 requested a review from a team September 22, 2025 09:15
@v1v v1v enabled auto-merge (squash) September 22, 2025 09:15
@v1v v1v requested a review from a team September 23, 2025 10:37
@v1v v1v merged commit 72630ea into main Sep 23, 2025
4 of 6 checks passed
@v1v v1v deleted the copilot/fix-420 branch September 23, 2025 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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