Skip to content

Commit 2164fc0

Browse files
committed
Rename HOMEBREW_TAP_TOKEN to GH_PAT with broader scope
The GitHub PAT needs write access to both this repo (for creating releases) and the homebrew-tap repo (for updating the formula). Renamed to GH_PAT and updated docs to clarify required permissions.
1 parent 87ffaf0 commit 2164fc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ jobs:
3939
version: '~> v2'
4040
args: release --clean
4141
env:
42-
GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
42+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
4343
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
4444
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ The following secrets must be configured in the repository settings:
8383

8484
| Secret | Description |
8585
|--------|-------------|
86+
| `GH_PAT` | GitHub Personal Access Token with `repo` scope. Must have write access to both this repository (for creating releases) and `onkernel/homebrew-tap` (for updating the Homebrew formula). Create at https://github.com/settings/tokens/new?scopes=repo |
8687
| `GORELEASER_KEY` | GoReleaser Pro license key (required for npm and homebrew publishing) |
8788
| `NPM_TOKEN` | npm access token for publishing `@onkernel/cli` |
88-
| `HOMEBREW_TAP_TOKEN` | GitHub PAT with write access to `onkernel/homebrew-tap` repository |
8989

9090
#### Local dry-run (optional)
9191

0 commit comments

Comments
 (0)