From 811dbd8ac9c13cc4df0d12809cba93a566979bc2 Mon Sep 17 00:00:00 2001 From: b4b4r07 Date: Wed, 5 Feb 2020 02:32:56 +0900 Subject: [PATCH] Use dedicated token for using GoReleaser Homebrew feature --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66d30c4..08e226d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,4 +21,7 @@ jobs: version: latest args: release --rm-dist env: - GITHUB_TOKEN: ${{ secrets.github_token }} + # To upload homebrew formula to other repos, + # need to set the dedicated token having enough permissions + # https://github.com/goreleaser/goreleaser/issues/982 + GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}