Skip to content

Commit 6ca9f7b

Browse files
committed
Use dedicated token for homebrew-tap and scoop-bucket publishes
The built-in GITHUB_TOKEN is scoped to this repository only, so cross-repo cask/scoop pushes need a fine-grained PAT (TAP_GITHUB_TOKEN). Claude-Session: https://claude.ai/code/session_018wVQJXBiNHryj4BZmHsJPV
1 parent a68f895 commit 6ca9f7b

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ jobs:
2828
args: release
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ homebrew_casks:
2828
repository:
2929
owner: wendigo
3030
name: homebrew-tap
31+
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
3132
hooks:
3233
post:
3334
install: |
@@ -57,6 +58,7 @@ scoops:
5758
repository:
5859
owner: wendigo
5960
name: scoop-bucket
61+
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
6062
homepage: "https://github.com/wendigo/chrome-protocol-proxy"
6163
description: "chrome-protocol-proxy is small reverse websocket proxy designed for chrome debugging protocol. It's purpose is to capture messages written to and received from Chrome Debugging Protocol, coalesce requests with responses, unpack messages from Target domain and provide easy to read, colored output."
6264
license: MIT

0 commit comments

Comments
 (0)