ecs-logging-python
ecs-logging-python copied to clipboard
Replace tibdex/github-app-token with actions/create-github-app-token
The tibdex/github-app-token action has been archived and is no longer maintained. This PR replaces all usages with the officially supported actions/create-github-app-token@v2 action.
Changes Made
Updated 3 workflow files to use the new action:
-
.github/workflows/addToProject.yml -
.github/workflows/labeler.yml -
.github/workflows/update-specs.yml
Configuration Migration
The following transformations were applied consistently across all workflows:
Action Reference:
# Before
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
# After
uses: actions/create-github-app-token@v2
Parameter Names:
# Before
app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
# After
app-id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
private-key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
Permissions Format:
# Before
permissions: >-
{
"contents": "write",
"pull_requests": "write"
}
# After
permission-contents: write
permission-pull-requests: write
All functionality remains identical - the workflows will continue to operate exactly as before but now use the supported GitHub Actions official action instead of the archived third-party action.
Fixes #183.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.