File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,14 +22,11 @@ jobs:
2222
2323 - name : Get token
2424 id : get_token
25- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
25+ uses : actions/create- github-app-token@v2
2626 with :
27- app_id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
28- private_key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
29- permissions : >-
30- {
31- "contents": "write"
32- }
27+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
28+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
29+ permission-contents : write
3330
3431 - run : make create-release
3532 env :
Original file line number Diff line number Diff line change @@ -17,17 +17,14 @@ jobs:
1717
1818 - name : Get token
1919 id : get_token
20- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
20+ uses : actions/create- github-app-token@v2
2121 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
3128
3229 - name : Add agent-java label
3330 run : gh issue edit "${NUMBER}" --add-label "agent-java" --repo "${{ github.repository }}"
Original file line number Diff line number Diff line change @@ -20,15 +20,12 @@ jobs:
2020
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- "contents": "write",
30- "pull_requests": "write"
31- }
25+ app-id : ${{ secrets.OBS_AUTOMATION_APP_ID }}
26+ private-key : ${{ secrets.OBS_AUTOMATION_APP_PEM }}
27+ permission-contents : write
28+ permission-pull-requests : write
3229
3330 - uses : elastic/oblt-actions/updatecli/run@v1
3431 with :
You can’t perform that action at this time.
0 commit comments