Merge pull request #15598 from carlocab/large-bottle-label
pr-publish: request a large runner for appropriately labelled PRs
This commit is contained in:
commit
5f778f2650
@ -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!"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user