Skip to content

Commit b5d7152

Browse files
fix: update package manager token configuration
- Rename token to PACKAGE_MANAGER_GITHUB_TOKEN for clarity - Use single token for both Homebrew and Scoop repositories - Update GoReleaser and GitHub Actions configuration
1 parent 5b07d05 commit b5d7152

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ jobs:
5858
args: release --clean
5959
env:
6060
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
PACKAGE_MANAGER_GITHUB_TOKEN: ${{ secrets.PACKAGE_MANAGER_GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ brews:
3838
owner: developerkunal
3939
name: homebrew-openmorph
4040
branch: main
41+
token: "{{ .Env.PACKAGE_MANAGER_GITHUB_TOKEN }}"
4142
commit_author:
4243
name: goreleaserbot
4344
email: bot@goreleaser.com
@@ -57,6 +58,7 @@ scoops:
5758
owner: developerkunal
5859
name: scoop-openmorph
5960
branch: main
61+
token: "{{ .Env.PACKAGE_MANAGER_GITHUB_TOKEN }}"
6062
commit_author:
6163
name: goreleaserbot
6264
email: bot@goreleaser.com

0 commit comments

Comments
 (0)