Skip to content

Commit a5ec2fb

Browse files
authored
fix: ci: use custom GITHUB_TOKEN for GoReleaser (#12059)
* fix: ci: use custom GITHUB_TOKEN for GoReleaser * fix: ci: use custom GITHUB_TOKEN for GoReleaser
1 parent 110da93 commit a5ec2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
args: release --clean --debug ${{ env.PUBLISH == 'false' && '--snapshot' || '' }}
124124
workdir: lotus
125125
env:
126-
GITHUB_TOKEN: ${{ env.PUBLISH == 'true' && github.token || '' }}
126+
GITHUB_TOKEN: ${{ env.PUBLISH == 'true' && secrets.GORELEASER_GITUB_TOKEN || github.token || '' }}
127127
GORELEASER_KEY: ${{ env.PUBLISH == 'true' && secrets.GORELEASER_KEY || '' }}
128128
- env:
129129
INPUTS_REF: ${{ inputs.ref }}

0 commit comments

Comments
 (0)