From 2efa246af8560eac2f38b16f00fc8b5df316d2b1 Mon Sep 17 00:00:00 2001 From: Alaska Date: Thu, 15 Aug 2024 11:29:52 +0200 Subject: [PATCH] Fix all reports being reopened as confirmed --- labels.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/labels.py b/labels.py index 30985a5..949dea0 100644 --- a/labels.py +++ b/labels.py @@ -43,11 +43,8 @@ def issues_event(data): if label["name"].startswith(status_prefix) and label["name"] not in status_closed: return - # Set needs triage or confirmed depending if report was classified. + # Set to Needs Triage new_status = "Status/Needs Triage" - for label in issue_labels: - if label["name"].startswith(type_prefix) and label["name"] != "Type/Report": - new_status = "Status/Confirmed" else: return -- 2.30.2