lib/whatsup_github/pulls.rb in whatsup_github-0.4.2 vs lib/whatsup_github/pulls.rb in whatsup_github-0.5.0
- old
+ new
@@ -55,17 +55,17 @@
Client.instance
end
def search_issues(label)
auto_paginate
- query = "repo:#{repo} label:\"#{label}\" merged:>=#{since} base:#{base_branch}"
+ query = "repo:#{repo} label:\"#{label}\" merged:>=#{since} base:#{base_branch} is:pull-request"
puts "Searching on GitHub by query #{query}"
client.search_issues(query)
end
def search_issues_with_magic_word(label)
auto_paginate
- query = "repo:#{repo} label:\"#{label}\" merged:>=#{since} base:#{base_branch} \"#{magic_word}\" in:body"
+ query = "repo:#{repo} label:\"#{label}\" merged:>=#{since} base:#{base_branch} \"#{magic_word}\" in:body is:pull-request"
puts "Searching on GitHub by query #{query}"
client.search_issues(query)
end
def auto_paginate