Skip to content

Commit

Permalink
Only count merged PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpenny committed Feb 24, 2022
1 parent 8e281ef commit 798c830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotfix_count.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
puts s
puts "-" * s.length
n.downto(n - COUNT_TO_SHOW) do |release|
prs = Github.all_pull_request_ids_for_repo(ARGV[0], "base:release-#{release}")
prs = Github.all_pull_request_ids_for_repo(ARGV[0], "base:release-#{release} is:merged")
puts "release-#{release.to_s.ljust(3)}: #{prs.length.to_s.rjust(3)}"
end
end

0 comments on commit 798c830

Please sign in to comment.