ecs-dotnet icon indicating copy to clipboard operation
ecs-dotnet copied to clipboard

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

Open Copilot opened this issue 5 months ago • 1 comments

The tibdex/github-app-token action has been archived and needs to be replaced with the supported actions/create-github-app-token action.

Changes

This PR updates the .github/workflows/update-specs.yml workflow to use the new action:

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

Key Updates

  • Action: tibdex/github-app-tokenactions/create-github-app-token@v2
  • Parameters: Updated parameter names and format:
    • app_idapp-id (hyphenated)
    • private_keyprivate-key (hyphenated)
    • permissions JSON object → individual permission-* parameters
  • Compatibility: The token output (steps.get_token.outputs.token) remains the same, ensuring no breaking changes to the rest of the workflow

The workflow will continue to function identically while using the supported, non-archived action.

Fixes #536.

[!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:

  • https://api.github.com/repos/actions/create-github-app-token/releases/latest
    • Triggering command: curl -s REDACTED (http 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 avatar Sep 19 '25 15:09 Copilot

@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 avatar Sep 19 '25 15:09 Copilot