From 829356027d354a4e4f1810d781906a175032ed87 Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Sat, 26 Mar 2022 20:35:02 +0100 Subject: [PATCH] log skips --- ghactions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghactions.py b/ghactions.py index f1685ce..a81a4d4 100644 --- a/ghactions.py +++ b/ghactions.py @@ -88,7 +88,7 @@ def parse_payload(run): trigger_email = run.get("head_commit", {}).get("author", {}).get("email", "??") recipient = get_recipient(job_repo) if not recipient: # No address configured, skip! - return + return f"[skipped] {job_repo} {job_id} {job_status}" if job_id not in jobs: jobs[job_id] = job_status if job_status == JOB_STATUS_FAILURE: # Always notify on failure