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 @@ -15,15 +15,12 @@ jobs:
15
15
steps :
16
16
- name : Get token
17
17
id : get_token
18
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
18
+ uses : actions/create- github-app-token@v2
19
19
with :
20
- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
21
- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
22
- permissions : >-
23
- {
24
- "organization_projects": "write",
25
- "issues": "read"
26
- }
20
+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
21
+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
22
+ permission-organization-projects : write
23
+ permission-issues : read
27
24
28
25
- name : Assign issues with milestones to project
29
26
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 @@ -54,17 +54,14 @@ jobs:
54
54
steps :
55
55
- name : Get token
56
56
id : get_token
57
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
57
+ uses : actions/create- github-app-token@v2
58
58
with :
59
- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
60
- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
61
- permissions : >-
62
- {
63
- "contents": "write",
64
- "pull_requests": "write"
65
- }
66
- repositories : >-
67
- ["ecs-logging-java"]
59
+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
60
+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
61
+ permission-contents : write
62
+ permission-pull-requests : write
63
+ repositories : |
64
+ ecs-logging-java
68
65
69
66
- uses : actions/checkout@v5
70
67
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