Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot 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 - Project management automation
  • .github/workflows/labeler.yml - Issue and PR labeling automation
  • .github/workflows/updatecli.yml - Dependency update automation
  • .github/workflows/pre-post-release.yml - Release process automation

Migration Details

Action replacement:

# Before
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a

# After  
uses: actions/create-github-app-token@v2

Parameter format changes:

  • app_idapp-id
  • private_keyprivate-key
  • Complex permissions JSON object → Individual permission-* attributes
  • repositories JSON array → Multiline string format

Example transformation:

# Before
permissions: >-
  {
    "contents": "write",
    "pull_requests": "write", 
    "members": "read"
  }

# After
permission-contents: write
permission-pull-requests: write
permission-members: read

All workflows maintain the same functionality while using the supported, actively maintained GitHub action. The migration ensures continued reliability of our automation workflows.

Fixes #4220.


💬 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
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 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 11:17
Copilot finished work on behalf of v1v September 19, 2025 11:17
@v1v v1v requested a review from a team September 22, 2025 11:01
@v1v v1v marked this pull request as ready for review September 22, 2025 11:01
@v1v v1v requested review from a team as code owners September 22, 2025 11:01
@v1v v1v requested a review from a team September 22, 2025 11:01
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

@SylvainJuge
Copy link
Member

Fix for the labeler with Copilot: elastic/oblt-actions#360

@SylvainJuge SylvainJuge merged commit 7d52c9a into main Sep 22, 2025
19 of 32 checks passed
@SylvainJuge SylvainJuge deleted the copilot/fix-4220 branch September 22, 2025 13:44
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