dispatch-build-bottle: use main branch

This is really only used in Homebrew/core, so it should be safe to just
change `ref` here to `main`. Without this, `dispatch-build-bottle`
creates PRs that mistakenly target the `master` branch instead of the
`main` branch.
This commit is contained in:
Carlo Cabrera 2025-07-21 10:24:23 +08:00 committed by Carlo Cabrera
parent d0959bbd02
commit 99807510f0
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -42,7 +42,7 @@ module Homebrew
def run def run
tap = Tap.fetch(args.tap || CoreTap.instance.name) tap = Tap.fetch(args.tap || CoreTap.instance.name)
user, repo = tap.full_name.split("/") user, repo = tap.full_name.split("/")
ref = "master" ref = "main"
workflow = args.workflow || "dispatch-build-bottle.yml" workflow = args.workflow || "dispatch-build-bottle.yml"
runners = [] runners = []