Skip to content

Commit 92effd1

Browse files
authored
Replace tibdex/github-app-token with actions/create-github-app-token (#10062) (#11688)
1 parent 4eddded commit 92effd1

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/serverless-project.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,15 @@ jobs:
2323
####################################
2424
- name: Get token
2525
id: get_token
26-
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
26+
uses: actions/create-github-app-token@v2
2727
with:
28-
app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
29-
private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
30-
permissions: >-
31-
{
32-
"checks": "read",
33-
"contents": "write",
34-
"pull_requests": "write"
35-
}
36-
repositories: >-
37-
["observability-test-environments"]
28+
app-id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
29+
private-key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
30+
permission-checks: read
31+
permission-contents: write
32+
permission-pull-requests: write
33+
repositories: |
34+
observability-test-environments
3835
3936
- uses: elastic/oblt-actions/git/setup@v1
4037
with:

0 commit comments

Comments
 (0)