File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,12 @@ jobs:
1818
1919 - name : Get token
2020 id : get_token
21- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
21+ uses : actions/create- github-app-token@v2
2222 with :
23- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
24- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
25- permissions : >-
26- {
27- "contents": "write",
28- "pull_requests": "write"
29- }
23+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
24+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
25+ permission-contents : write
26+ permission-pull-requests : write
3027
3128 - uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
3229 with :
Original file line number Diff line number Diff line change @@ -30,14 +30,15 @@ jobs:
3030 - name : Validate
3131 run : make test
3232
33- - uses : tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
33+ - name : Get token from GitHub App
34+ id : generate_testing_token
35+ uses : actions/create-github-app-token@v2
3436 # Only run e2e tests from the main branch as we need some credentials
3537 # that we don't want to risk leaking from pullrequest opened by random contributors
3638 if : github.ref == 'refs/heads/main'
37- id : generate_testing_token
3839 with :
39- app_id : ${{ secrets.ELASTIC_OBSERVABILITY_APP_ID }}
40- private_key : ${{ secrets.ELASTIC_OBSERVABILITY_APP_PEM }}
40+ app-id : ${{ secrets.ELASTIC_OBSERVABILITY_APP_ID }}
41+ private-key : ${{ secrets.ELASTIC_OBSERVABILITY_APP_PEM }}
4142
4243 - name : e2e tests
4344 # Only run e2e tests from the main branch as we need some credentials
You can’t perform that action at this time.
0 commit comments