File tree Expand file tree Collapse file tree 2 files changed +9
-15
lines changed Expand file tree Collapse file tree 2 files changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,11 @@ jobs:
20
20
steps :
21
21
- name : Get token
22
22
id : get_token
23
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
23
+ uses : actions/create- github-app-token@v2
24
24
with :
25
- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
26
- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
27
- permissions : >-
28
- {
29
- "members": "read"
30
- }
25
+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
26
+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
27
+ permission-members : read
31
28
- name : Add agent-python label
32
29
run : gh issue edit "$NUMBER" --add-label "agent-python" --repo "${{ github.repository }}"
33
30
- id : is_elastic_member
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