mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Skip homepage audit for www.gnu.org
on GitHub runners
Signed-off-by: botantony <antonsm21@gmail.com>
This commit is contained in:
parent
4d55e48a16
commit
da3cb65857
@ -563,6 +563,15 @@ module Homebrew
|
||||
|
||||
return unless DevelopmentTools.curl_handles_most_https_certificates?
|
||||
|
||||
# Skip gnu.org and nongnu.org audit on GitHub runners
|
||||
# See issue: https://github.com/Homebrew/homebrew-core/issues/206757
|
||||
gnu_homepages = [
|
||||
%r{https://www\.gnu\.org/.+},
|
||||
%r{https://www\.nongnu\.org/.+},
|
||||
]
|
||||
|
||||
return if gnu_homepages.any?(&homepage.method(:match?)) && ENV["HOMEBREW_GITHUB_HOSTED_RUNNER"]
|
||||
|
||||
use_homebrew_curl = [:stable, :head].any? do |spec_name|
|
||||
next false unless (spec = formula.send(spec_name))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user