From bbe843bf6ae5fa7b1c802c660a94e612a85249bf Mon Sep 17 00:00:00 2001 From: ydshieh Date: Wed, 22 May 2024 15:08:21 +0200 Subject: [PATCH] fix --- utils/notification_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/notification_service.py b/utils/notification_service.py index 70f0fb1a7b8cdc..7ce9209a3172e0 100644 --- a/utils/notification_service.py +++ b/utils/notification_service.py @@ -1167,6 +1167,7 @@ def prepare_reports(title, header, reports, to_truncate=True): if job_name == "run_models_gpu": target_workflow = "huggingface/transformers/.github/workflows/self-scheduled-caller.yml@refs/heads/main" print(target_workflow) + print(os.environ.get("CI_WORKFLOW_REF")) if True or os.environ.get("CI_WORKFLOW_REF") == target_workflow: # Get the last previously completed CI's failure tables artifact_names = [f"ci_results_{job_name}"]