From bc6e88d45ccf5dff6b221d78c8b8505b1d440c17 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Tue, 27 Jun 2023 20:06:35 +0800 Subject: [PATCH] pr-publish: request a large runner for appropriately labelled PRs This will make it easier to merge PRs that require the large runner to upload the built bottles. --- Library/Homebrew/dev-cmd/pr-publish.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/dev-cmd/pr-publish.rb b/Library/Homebrew/dev-cmd/pr-publish.rb index da152254ce..c1220ee941 100644 --- a/Library/Homebrew/dev-cmd/pr-publish.rb +++ b/Library/Homebrew/dev-cmd/pr-publish.rb @@ -64,6 +64,10 @@ module Homebrew oh1 "Found `autosquash` label on ##{issue}. Requesting autosquash." inputs[:autosquash] = true end + if pr_labels.include?("large-bottle-upload") + oh1 "Found `large-bottle-upload` label on ##{issue}. Requesting upload on large runner." + inputs[:large_runner] = true + end if args.tap.present? && !T.must("#{user}/#{repo}".casecmp(tap.full_name)).zero? odie "Pull request URL is for #{user}/#{repo} but `--tap=#{tap.full_name}` was specified!"