From ba45b60fa9625d1c50db814eccfc5fda191fee25 Mon Sep 17 00:00:00 2001 From: Vincent Cheung <71457708+vcheung-stripe@users.noreply.github.com> Date: Wed, 1 Jun 2022 10:56:35 -0700 Subject: [PATCH] Pass github token from repo to goreleaser (#885) --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63a8e2c47..f10b25229 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,7 @@ jobs: args: release -f .goreleaser/mac.yml --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GORELEASER_GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }} build-linux: runs-on: ubuntu-latest @@ -70,6 +71,7 @@ jobs: args: release -f .goreleaser/windows.yml --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GORELEASER_GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }} upload-to-virustotal: needs: [build-windows]