From 18b68879568cb0bbbfc49113044757b89cf4cdd8 Mon Sep 17 00:00:00 2001 From: ydshieh Date: Tue, 2 Apr 2024 13:36:45 +0200 Subject: [PATCH] remove True --- utils/notification_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/notification_service.py b/utils/notification_service.py index f4c9323bd4ff24..ab7769e5ca874c 100644 --- a/utils/notification_service.py +++ b/utils/notification_service.py @@ -1158,7 +1158,7 @@ def prepare_reports(title, header, reports, to_truncate=True): prev_ci_artifacts = None target_workflow = "huggingface/transformers/.github/workflows/self-scheduled.yml@refs/heads/main" - if True or os.environ.get("CI_WORKFLOW_REF") == target_workflow: + if os.environ.get("CI_WORKFLOW_REF") == target_workflow: # Get the last previously completed CI's failure tables artifact_names = ["prev_ci_results"] output_dir = os.path.join(os.getcwd(), "previous_reports")