From e0a21014f9c70ef793c29eaecdbd1dc0d5a5b935 Mon Sep 17 00:00:00 2001 From: Rodrigo Nardi Date: Mon, 3 Jun 2024 13:41:34 -0300 Subject: [PATCH] Rerun Report Filter PRs when is offender Signed-off-by: Rodrigo Nardi --- reports/re_run_report.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reports/re_run_report.rb b/reports/re_run_report.rb index 06cf7d3..a022885 100644 --- a/reports/re_run_report.rb +++ b/reports/re_run_report.rb @@ -96,6 +96,8 @@ def create_csv(filename) def raw_output(result, file_descriptor: nil) result.each_pair do |pull_request, info| + next if info[:total] <= OFFENDER_LIMIT + print("\nPull Request: ##{pull_request} - Reruns: #{info[:total]}", file_descriptor) info[:check_suites].each do |cs|