File tree Expand file tree Collapse file tree 3 files changed +19
-28
lines changed Expand file tree Collapse file tree 3 files changed +19
-28
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,14 @@ jobs:
17
17
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
- "organization_projects": "write",
28
- "issues": "read",
29
- "pull_requests": "write"
30
- }
22
+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
23
+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
24
+ permission-members : read
25
+ permission-organization-projects : write
26
+ permission-issues : read
27
+ permission-pull-requests : write
31
28
32
29
- name : Add agent-java label
33
30
run : gh issue edit "${NUMBER}" --add-label "agent-java" --repo "${{ github.repository }}"
Original file line number Diff line number Diff line change @@ -61,17 +61,14 @@ jobs:
61
61
62
62
- name : Get token
63
63
id : get_token
64
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
64
+ uses : actions/create- github-app-token@v2
65
65
with :
66
- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
67
- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
68
- permissions : >-
69
- {
70
- "contents": "write",
71
- "pull_requests": "write"
72
- }
73
- repositories : >-
74
- ["elastic-otel-java"]
66
+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
67
+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
68
+ permission-contents : write
69
+ permission-pull-requests : write
70
+ repositories : |
71
+ elastic-otel-java
75
72
76
73
- uses : actions/checkout@v5
77
74
with :
Original file line number Diff line number Diff line change @@ -16,15 +16,12 @@ jobs:
16
16
17
17
- name : Get token
18
18
id : get_token
19
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
19
+ uses : actions/create- github-app-token@v2
20
20
with :
21
- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
22
- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
23
- permissions : >-
24
- {
25
- "contents": "write",
26
- "pull_requests": "write"
27
- }
21
+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
22
+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
23
+ permission-contents : write
24
+ permission-pull-requests : write
28
25
29
26
- uses : elastic/oblt-actions/updatecli/run@v1
30
27
with :
You can’t perform that action at this time.
0 commit comments