Skip to content
Snippets Groups Projects
Commit 53dd0e3f authored by Shaun Jackman's avatar Shaun Jackman
Browse files

audit: Silence not notable on non-Homebrew taps

Silence "GitHub repository not notable" on non-Homebrew taps.
parent 91ab116a
No related branches found
No related tags found
No related merge requests found
......@@ -590,7 +590,8 @@ class FormulaAuditor
return if metadata.nil?
problem "GitHub fork (not canonical repository)" if metadata["fork"]
if (metadata["forks_count"] < 20) && (metadata["subscribers_count"] < 20) &&
if formula&.tap&.core_tap? &&
(metadata["forks_count"] < 20) && (metadata["subscribers_count"] < 20) &&
(metadata["stargazers_count"] < 50)
problem "GitHub repository not notable enough (<20 forks, <20 watchers and <50 stars)"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment