Skip to content

Commit

Permalink
feat: add issues query
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Mar 24, 2024
1 parent 47f1cae commit 50d9e52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/newsman.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def options.require_option(key, message)
one_week_ago = date_one_week_ago(Date.today)
# Display pull request
query = "is:pr author:#{github_username} created:>=#{one_week_ago} #{github_repositories}"
issues_query = "is:issue is:open author:#{github_username} author:0pdd created:>=#{one_week_ago} #{github_repositories}"
puts "Searching pull requests for #{github_username}."
puts "Newsman uses the following request to GitHub to gather the required information about user activity: '#{query}'"
prs = []
Expand Down

0 comments on commit 50d9e52

Please sign in to comment.