File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed
Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change 44 release :
55 types :
66 - published
7+
78permissions :
89 contents : write
9- workflows : write
10-
10+ deployments : write
11+
1112jobs :
1213 publish :
1314 runs-on : ubuntu-latest
15+ environment : release
1416 steps :
1517 - uses : cloudposse/github-action-major-release-tagger@v1
1618 with :
1719 token : ${{ secrets.GITHUB_TOKEN }}
20+ - uses : tibdex/github-app-token@v2
21+ id : github-app
22+ with :
23+ revoke : true
24+ app_id : ${{ secrets.BOT_GITHUB_APP_ID }}
25+ installation_id : ${{ secrets.BOT_ITHUB_APP_INSTALLATION_ID }}
26+ private_key : ${{ secrets.BOT_GITHUB_APP_PRIVATE_KEY }}
27+ repositories : >-
28+ ["${{ github.repository }}"]
29+ # To make changes to a workflow file and commit it, these repo scopes are required:
30+ # - contents:write
31+ # - workflows:write
32+ # - metadata:read (set automatically)
33+ permissions : >-
34+ {
35+ "contents:": "write",
36+ "workflows:": "write,
37+ "metadata": "read"
38+ }
1839 - uses : cloudposse/github-action-release-branch-manager@v1
1940 env :
20- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ GITHUB_TOKEN : ${{ steps.github-app.outputs.token }}
You can’t perform that action at this time.
0 commit comments