Skip to content

Commit

Permalink
chore(ci): Create PRs for Homebrew formula updates (#1704)
Browse files Browse the repository at this point in the history
Configure GoReleaser to create PRs instead of directly pushing to the
branch.

Also replaces the deprecated `tap` config with `repository`.

Signed-off-by: Charith Ellawala <charith@cerbos.dev>
  • Loading branch information
charithe committed Jul 19, 2023
1 parent aba3b1d commit 2b7c99b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .goreleaser.yml
Expand Up @@ -192,11 +192,16 @@ docker_manifests:
- "ghcr.io/cerbos/cerbosctl:dev-arm64"

brews:
- tap:
- repository:
owner: cerbos
name: homebrew-tap
branch: main
branch: "release_{{ .Version }}"
token: "{{ .Env.HOMEBREW_GITHUB_TOKEN }}"
pull_request:
enabled: true
base:
branch: main

folder: Formula
ids:
- cerbos
Expand Down

0 comments on commit 2b7c99b

Please sign in to comment.