diff --git a/lib/review_bot/reminder.rb b/lib/review_bot/reminder.rb index e48334e..7f37c78 100644 --- a/lib/review_bot/reminder.rb +++ b/lib/review_bot/reminder.rb @@ -74,7 +74,7 @@ def potential_notifications pull.reviewers.include?(reviewer['github']) end - next if suggested_reviewers.empty? + next if suggested_reviewers.select(&:work_hour?).empty? Notification.new( pull_request: pull,