-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
Description
Overview
The action tibdex/github-app-token
is archived, so we have to change to use a different action. The action actions/create-github-app-token
offered a similar functionality.
Steps
- List the .github/actions and .github/workflows using
tibdex/github-app-token
- Replace
tibdex/github-app-token
with the same configuration usingactions/create-github-app-token
for all the .github/actions and workflows. - Link the PR to this issue as closed by the PR.
Example
The following configuration with tibdex/github-app-token
- 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 }}
repositories: >-
[
"oblt-framework",
"observability-test-environments"
]
permissions: >-
{
"contents": "write",
"pull_requests": "write",
"members": "read"
}
it is replaced by the following configuration with actions/create-github-app-token
- name: Get token from GitHub App
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
permission-members: read
repositories: |
oblt-framework
observability-test-environments
Copilot