From a5ec2fb0ea698c1788bc0c54e29f90614ebd8798 Mon Sep 17 00:00:00 2001 From: Piotr Galar Date: Wed, 29 May 2024 11:05:21 +0100 Subject: [PATCH] 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 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}