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:
2020 steps :
2121 - name : Get token
2222 id : get_token
23- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
23+ uses : actions/create- github-app-token@v2
2424 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
3128 - name : Add agent-python label
3229 run : gh issue edit "$NUMBER" --add-label "agent-python" --repo "${{ github.repository }}"
3330 - id : is_elastic_member
Original file line number Diff line number Diff line change @@ -19,15 +19,12 @@ jobs:
1919
2020 - name : Get token
2121 id : get_token
22- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
22+ uses : actions/create- github-app-token@v2
2323 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
3128
3229 - uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
3330 with :
You can’t perform that action at this time.
0 commit comments