aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-08-31 19:17:58 +0100
committerGitHub2017-08-31 19:17:58 +0100
commitbf5a58d6a408316b1a0bb172f9fb1942093dc4bd (patch)
tree56863c2474719ecf84d1e15636dc3335d13916c4 /Library
parent35de091bae0f035e99e3b4e418419ddcf30dd214 (diff)
parent0ea4da4ef6bca28e2225f79cd0c6c9210eee8f7f (diff)
downloadbrew-bf5a58d6a408316b1a0bb172f9fb1942093dc4bd.tar.bz2
Merge pull request #3110 from DomT4/too_many_goats
github: limit PR search to Homebrew
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils/github.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb
index a1cf5fbba..a50d6d8e5 100644
--- a/Library/Homebrew/utils/github.rb
+++ b/Library/Homebrew/utils/github.rb
@@ -245,7 +245,7 @@ module GitHub
end
def print_pull_requests_matching(query)
- open_or_closed_prs = search_issues(query, type: "pr")
+ open_or_closed_prs = search_issues(query, type: "pr", user: "Homebrew")
open_prs = open_or_closed_prs.select { |i| i["state"] == "open" }
prs = if !open_prs.empty?