Skip to content

Commit f746af8

Browse files
authored
Merge pull request #5 from milldr/fix/release-dual-tokens
Fix release workflow token permissions
2 parents c6c0eb7 + c7ea279 commit f746af8

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ jobs:
2828
version: latest
2929
args: release --clean
3030
env:
31-
GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ homebrew_casks:
2828
repository:
2929
owner: milldr
3030
name: homebrew-tap
31+
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
3132
homepage: https://github.com/milldr/flow
3233
description: Multi-repo workspace manager using git worktrees
3334
binaries:

0 commit comments

Comments
 (0)