mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
brew pr-pull
: no bottles for CI-no-bottles
PRs
This commit is contained in:
parent
7d9ac775dd
commit
6bea9b4202
@ -291,7 +291,10 @@ module Homebrew
|
|||||||
|
|
||||||
def formulae_need_bottles?(tap, original_commit, user, repo, pr, args:)
|
def formulae_need_bottles?(tap, original_commit, user, repo, pr, args:)
|
||||||
return if args.dry_run?
|
return if args.dry_run?
|
||||||
return false if GitHub.pull_request_labels(user, repo, pr).include? "CI-syntax-only"
|
|
||||||
|
labels = GitHub.pull_request_labels(user, repo, pr)
|
||||||
|
|
||||||
|
return false if labels.include?("CI-syntax-only") || labels.include?("CI-no-bottles")
|
||||||
|
|
||||||
changed_formulae(tap, original_commit).any? do |f|
|
changed_formulae(tap, original_commit).any? do |f|
|
||||||
!f.bottle_unneeded? && !f.bottle_disabled?
|
!f.bottle_unneeded? && !f.bottle_disabled?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user