File tree Expand file tree Collapse file tree 3 files changed +14
-23
lines changed Expand file tree Collapse file tree 3 files changed +14
-23
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,12 @@ jobs:
1313 steps :
1414 - name : Get token
1515 id : get_token
16- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
16+ uses : actions/create- github-app-token@v2
1717 with :
18- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
19- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
20- permissions : >-
21- {
22- "organization_projects": "write",
23- "issues": "read"
24- }
18+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
19+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
20+ permission-organization-projects : write
21+ permission-issues : read
2522 - name : Get project data
2623 env :
2724 GITHUB_TOKEN : ${{ steps.get_token.outputs.token }}
Original file line number Diff line number Diff line change @@ -17,14 +17,11 @@ jobs:
1717 steps :
1818 - name : Get token
1919 id : get_token
20- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
20+ uses : actions/create- github-app-token@v2
2121 with :
22- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
23- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
24- permissions : >-
25- {
26- "members": "read"
27- }
22+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
23+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
24+ permission-members : read
2825
2926 - id : is_elastic_member
3027 uses : elastic/oblt-actions/github/is-member-of@v1
Original file line number Diff line number Diff line change @@ -21,15 +21,12 @@ jobs:
2121
2222 - name : Get token
2323 id : get_token
24- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
24+ uses : actions/create- github-app-token@v2
2525 with :
26- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
27- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
28- permissions : >-
29- {
30- "contents": "write",
31- "pull_requests": "write"
32- }
26+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
27+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
28+ permission-contents : write
29+ permission-pull-requests : write
3330
3431 - uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
3532 with :
You can’t perform that action at this time.
0 commit comments