diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6fc8ba46d2..ce3ba6e9807 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}