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.
This commit is contained in:
parent
3a813c30f3
commit
bc6e88d45c
@ -64,6 +64,10 @@ module Homebrew
|
|||||||
oh1 "Found `autosquash` label on ##{issue}. Requesting autosquash."
|
oh1 "Found `autosquash` label on ##{issue}. Requesting autosquash."
|
||||||
inputs[:autosquash] = true
|
inputs[:autosquash] = true
|
||||||
end
|
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?
|
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!"
|
odie "Pull request URL is for #{user}/#{repo} but `--tap=#{tap.full_name}` was specified!"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user