Skip to content

Commit 7e9e5ab

Browse files
authored
ci: fix PR to homebrew tap flow (#86)
Signed-off-by: Connor Braa <[email protected]>
1 parent 9167942 commit 7e9e5ab

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.goreleaser.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,15 @@ archives:
3737

3838
homebrew_casks:
3939
- repository:
40-
owner: "{{ .Env.GH_ORG_NAME }}" # reconfigure if test releasing on your own fork
40+
owner: "{{ .Env.GH_ORG_NAME }}"
4141
name: homebrew-tap
42+
token: "{{ .Env.GITHUB_TOKEN }}"
4243
pull_request:
43-
enabled: true # enabled so we can publish draft releases, publish them, then merge the tap PR. to be removed later.
44+
enabled: true
45+
base:
46+
owner: "{{ .Env.GH_ORG_NAME }}"
47+
name: homebrew-tap
48+
branch: main
4449
name: container-use
4550
binary: cu
4651
skip_upload: auto # if the version is like v0.0.0-rc1, don't make the tap PR.

0 commit comments

Comments
 (0)