File tree Expand file tree Collapse file tree 4 files changed +24
-36
lines changed Expand file tree Collapse file tree 4 files changed +24
-36
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,12 @@ jobs:
14
14
steps :
15
15
- name : Get token
16
16
id : get_token
17
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
17
+ uses : actions/create- github-app-token@v2
18
18
with :
19
- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
20
- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
21
- permissions : >-
22
- {
23
- "organization_projects": "write",
24
- "issues": "read"
25
- }
19
+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
20
+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
21
+ permission-organization-projects : write
22
+ permission-issues : read
26
23
27
24
- name : Get project data
28
25
env :
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 @@ -56,17 +56,14 @@ jobs:
56
56
steps :
57
57
- name : Get token
58
58
id : get_token
59
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
59
+ uses : actions/create- github-app-token@v2
60
60
with :
61
- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
62
- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
63
- permissions : >-
64
- {
65
- "contents": "write",
66
- "pull_requests": "write"
67
- }
68
- repositories : >-
69
- ["apm-agent-java"]
61
+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
62
+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
63
+ permission-contents : write
64
+ permission-pull-requests : write
65
+ repositories : |
66
+ apm-agent-java
70
67
71
68
- uses : actions/checkout@v5
72
69
with :
Original file line number Diff line number Diff line change @@ -19,15 +19,12 @@ jobs:
19
19
20
20
- name : Get token
21
21
id : get_token
22
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
22
+ uses : actions/create- github-app-token@v2
23
23
with :
24
- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
25
- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
26
- permissions : >-
27
- {
28
- "contents": "write",
29
- "pull_requests": "write"
30
- }
24
+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
25
+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
26
+ permission-contents : write
27
+ permission-pull-requests : write
31
28
32
29
- uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
33
30
with :
You can’t perform that action at this time.
0 commit comments