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
This commit is contained in:
parent
110da93f8f
commit
a5ec2fb0ea
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -123,7 +123,7 @@ jobs:
|
||||
args: release --clean --debug ${{ env.PUBLISH == 'false' && '--snapshot' || '' }}
|
||||
workdir: lotus
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ env.PUBLISH == 'true' && github.token || '' }}
|
||||
GITHUB_TOKEN: ${{ env.PUBLISH == 'true' && secrets.GORELEASER_GITUB_TOKEN || github.token || '' }}
|
||||
GORELEASER_KEY: ${{ env.PUBLISH == 'true' && secrets.GORELEASER_KEY || '' }}
|
||||
- env:
|
||||
INPUTS_REF: ${{ inputs.ref }}
|
||||
|
Loading…
Reference in New Issue
Block a user