From 99807510f0d5d13ee62d04a08192c916ffc33b4d Mon Sep 17 00:00:00 2001 From: Carlo Cabrera Date: Mon, 21 Jul 2025 10:24:23 +0800 Subject: [PATCH] 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. --- Library/Homebrew/dev-cmd/dispatch-build-bottle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/dispatch-build-bottle.rb b/Library/Homebrew/dev-cmd/dispatch-build-bottle.rb index 600edd2e7a..2cd1862196 100644 --- a/Library/Homebrew/dev-cmd/dispatch-build-bottle.rb +++ b/Library/Homebrew/dev-cmd/dispatch-build-bottle.rb @@ -42,7 +42,7 @@ module Homebrew def run tap = Tap.fetch(args.tap || CoreTap.instance.name) user, repo = tap.full_name.split("/") - ref = "master" + ref = "main" workflow = args.workflow || "dispatch-build-bottle.yml" runners = []