File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 88 - tmp_hotfix_branch
99
1010permissions :
11- contents : read
11+ contents : write
1212 id-token : write
1313env :
1414 IS_HOTFIX : ${{ github.ref == 'refs/heads/tmp_hotfix_branch' }}
3030 with :
3131 ref : ${{ fromJSON('["tmp_hotfix_branch", "main"]')[env.IS_HOTFIX] }}
3232 fetch-depth : 0
33- token : ${{ secrets.GITHUB_TOKEN }}
33+ token : ${{ secrets.GHACTIONS }}
3434
3535 - uses : ./.github/actions/set-up-git
3636 name : Set up git user
@@ -180,7 +180,7 @@ jobs:
180180 prerelease : ${{ steps.bumpVersion.outputs.isPrerelease }}
181181 tag : v${{ steps.bumpVersion.outputs.newVersion }}
182182 body : ${{ steps.generate_body.outputs.generatedReleaseNotes }}
183- token : ${{ secrets.GITHUB_TOKEN }}
183+ token : ${{ secrets.GHACTIONS }}
184184 # This step is for pushing into the main only the version change, without anything else.
185185 # This is useful when user created a Hotfix, and we need to sync the version on main
186186 # if hotfix version is higher than latest stable and RC versions.
@@ -207,7 +207,7 @@ jobs:
207207 uses : actions/checkout@v4.2.2
208208 with :
209209 ref : main # always fetch from main branch
210- token : ${{ secrets.GITHUB_TOKEN }}
210+ token : ${{ secrets.GHACTIONS }}
211211
212212 - name : Setup Node.js and Cache
213213 uses : ./.github/actions/nodejs
You can’t perform that action at this time.
0 commit comments