github: limit PR search to Homebrew
Not sure whether this is the way you want to handle this problem but it's really darn irritating so here's a PR that handles it one way. Fixes: https://github.com/Homebrew/brew/pull/3086#issuecomment-324519156
This commit is contained in:
parent
156bca7dfb
commit
0ea4da4ef6
@ -245,7 +245,7 @@ module GitHub
|
|||||||
end
|
end
|
||||||
|
|
||||||
def print_pull_requests_matching(query)
|
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" }
|
open_prs = open_or_closed_prs.select { |i| i["state"] == "open" }
|
||||||
prs = if !open_prs.empty?
|
prs = if !open_prs.empty?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user