Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 22, 2025

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

Changes

Updated .github/workflows/updatecli.yml to replace the deprecated action with the new one:

  • Action: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73aactions/create-github-app-token@v2
  • Parameters: Updated parameter names to match the new action's API (app_idapp-id, private_keyprivate-key)
  • Permissions: Converted from JSON object format to individual permission parameters
  • Repositories: Converted from JSON array format to YAML multiline format

Before

- name: Get token
  id: get_token
  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"
      }
    repositories: >-
      ["docs-builder"]

After

- name: Get token
  id: get_token
  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
    repositories: |
      docs-builder

The workflow functionality remains unchanged - it still generates a GitHub App token with the same permissions for the same repositories.

Fixes #1923.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


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

Copilot AI and others added 2 commits September 22, 2025 08:41
…l workflow

Co-authored-by: reakaleek <16325797+reakaleek@users.noreply.github.com>
…in updatecli.yml workflow

Co-authored-by: reakaleek <16325797+reakaleek@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 22, 2025
@Copilot Copilot AI requested a review from reakaleek September 22, 2025 08:44
Copilot finished work on behalf of reakaleek September 22, 2025 08:44
@reakaleek reakaleek requested a review from v1v September 22, 2025 08:44
@reakaleek reakaleek marked this pull request as ready for review September 22, 2025 08:45
@reakaleek reakaleek requested a review from a team as a code owner September 22, 2025 08:45
@reakaleek reakaleek requested a review from cotti September 22, 2025 08:45
@reakaleek reakaleek added the automation packaging, ci/cd. label Sep 22, 2025
@reakaleek reakaleek merged commit 6506098 into main Sep 22, 2025
24 of 38 checks passed
@reakaleek reakaleek deleted the copilot/fix-1923 branch September 22, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation packaging, ci/cd.
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