We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9fba53 commit 966a41eCopy full SHA for 966a41e
1 file changed
.github/scripts/rerun-flaky-pr-jobs.py
@@ -16,7 +16,7 @@
16
from pathlib import Path
17
18
LOOKBACK_HOURS = 2
19
-MAX_FAILED_JOBS_PER_WORKFLOW_RUN = 2
+MAX_FAILED_JOBS_PER_WORKFLOW_RUN = 5
20
MAX_RERUN_ATTEMPTS = 2
21
22
@@ -36,7 +36,7 @@ def main() -> None:
36
continue
37
38
rerun_attempts = run["run_attempt"] - 1
39
- if rerun_attempts > MAX_RERUN_ATTEMPTS:
+ if rerun_attempts >= MAX_RERUN_ATTEMPTS:
40
processed_runs.append(
41
f"Skipped {format_run(run)}: already rerun {rerun_attempts} times."
42
)
0 commit comments