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