From 8caa5d4b93f7dd7430a11d7190bf5a8a8359c231 Mon Sep 17 00:00:00 2001 From: MinJae Kwon Date: Wed, 17 Jan 2024 00:40:05 +0900 Subject: [PATCH] ci(release): use PAT to write to another repo --- .github/workflows/release.yml | 1 + .goreleaser.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f00c69b..668c55d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,3 +21,4 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_PAT: ${{ secrets.GH_PAT }} # For homebrew-flog. diff --git a/.goreleaser.yml b/.goreleaser.yml index 05ddc59..2d9530d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -44,5 +44,5 @@ brews: owner: mingrammer name: homebrew-flog branch: main - token: "{{ .Env.GITHUB_TOKEN }}" + token: "{{ .Env.GH_PAT }}" install: bin.install "flog"