From 2fa06f6b70dcbea9c1d9ef4a0eb9e998a6763e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Sch=C3=BCtt?= Date: Thu, 4 Dec 2025 09:30:55 +0100 Subject: [PATCH] Dashboard: Only send emails for status FAILED --- tools/dashboard/generate_dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dashboard/generate_dashboard.py b/tools/dashboard/generate_dashboard.py index 6d5e41993d..aec260a91e 100755 --- a/tools/dashboard/generate_dashboard.py +++ b/tools/dashboard/generate_dashboard.py @@ -196,7 +196,7 @@ def gen_frontpage( if report.status == "OK": status[s].last_ok = report.sha status[s].notified = False - elif do_notify and not status[s].notified: + elif report.status == "FAILED" and do_notify and not status[s].notified: send_notification(report, status[s].last_ok, log, name, s, send_emails) status[s].notified = True