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:
13
13
steps :
14
14
- name : Get token
15
15
id : get_token
16
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
16
+ uses : actions/create- github-app-token@v2
17
17
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
25
22
- name : Get project data
26
23
env :
27
24
GITHUB_TOKEN : ${{ steps.get_token.outputs.token }}
Original file line number Diff line number Diff line change @@ -17,14 +17,11 @@ jobs:
17
17
steps :
18
18
- name : Get token
19
19
id : get_token
20
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
20
+ uses : actions/create- github-app-token@v2
21
21
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
28
25
29
26
- id : is_elastic_member
30
27
uses : elastic/oblt-actions/github/is-member-of@v1
Original file line number Diff line number Diff line change @@ -21,15 +21,12 @@ jobs:
21
21
22
22
- name : Get token
23
23
id : get_token
24
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
24
+ uses : actions/create- github-app-token@v2
25
25
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
33
30
34
31
- uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
35
32
with :
You can’t perform that action at this time.
0 commit comments