Replace tibdex/github-app-token with actions/create-github-app-token
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-token→actions/create-github-app-token@v2 -
Parameters: Updated parameter names and format:
-
app_id→app-id(hyphenated) -
private_key→private-key(hyphenated) -
permissionsJSON object → individualpermission-*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:
- Configure Actions setup steps to set up my environment, which run before the firewall is enabled
- Add the appropriate URLs or hosts to the custom allowlist in this repository's Copilot coding agent settings (admins only)
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.
@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.