Skip to content

Commit 6506098

Browse files
Copilotreakaleek
andauthored
Replace tibdex/github-app-token with actions/create-github-app-token (#1925)
* Initial plan * Initial analysis: Found tibdex/github-app-token usage in updatecli.yml workflow Co-authored-by: reakaleek <[email protected]> * Replace tibdex/github-app-token with actions/create-github-app-token in updatecli.yml workflow Co-authored-by: reakaleek <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: reakaleek <[email protected]>
1 parent 3a1d112 commit 6506098

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/updatecli.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,14 @@ jobs:
2020

2121
- name: Get token
2222
id: get_token
23-
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
23+
uses: actions/create-github-app-token@v2
2424
with:
25-
app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
26-
private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
27-
permissions: >-
28-
{
29-
"contents": "write",
30-
"pull_requests": "write"
31-
}
32-
repositories: >-
33-
["docs-builder"]
25+
app-id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
26+
private-key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
27+
permission-contents: write
28+
permission-pull-requests: write
29+
repositories: |
30+
docs-builder
3431
3532
- uses: elastic/oblt-actions/updatecli/run@v1
3633
with:

0 commit comments

Comments
 (0)