mirror of
https://github.com/gosticks/brew.git
synced 2026-10-05 06:58:04 +00:00
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:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user