From 77d40e12eadf675d556b6f1c36ecc01e96c1c81f Mon Sep 17 00:00:00 2001 From: Sean Swehla Date: Tue, 28 Mar 2023 13:46:44 -0400 Subject: [PATCH] Use separate token for homebrew tap --- .github/workflows/release.yml | 3 ++- .goreleaser.yaml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d34dd0c..2f3d38c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,5 +40,6 @@ jobs: version: latest args: release --clean env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAP_GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} SSH_AUTH_SOCK: /tmp/ssh_agent.sock diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a0fe1a0..de8d3e4 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -41,6 +41,7 @@ brews: tap: owner: capeprivacy name: homebrew-tap + token: "{{.Env.TAP_GITHUB_TOKEN}}" checksum: name_template: 'checksums.txt' snapshot: