From 075bde737fcc9f616b4b07115a49200c1d921a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C5=A1a=20Tomi=C4=87?= Date: Fri, 7 Jun 2024 09:32:18 +0200 Subject: [PATCH] fix(release-notes): Drop the re-classification of commits to "other" in some cases (#463) * fix(release-notes): Only mark a commit as "other" if >=5 teams are touched * Drop the reclassification to "other" --- release-controller/release_notes.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/release-controller/release_notes.py b/release-controller/release_notes.py index 2352be0da..44a9114bf 100755 --- a/release-controller/release_notes.py +++ b/release-controller/release_notes.py @@ -403,9 +403,6 @@ def release_notes(first_commit, last_commit, release_name) -> str: commit_type = conventional["type"].lower() commit_type = commit_type if commit_type in TYPE_PRETTY_MAP else "other" - if len(teams) >= 3: - # The change seems to be touching many teams, let's mark it as "other" (generic) - commit_type = "other" if ["ic-testing-verification"] == teams or all([team in EXCLUDED_TEAMS for team in teams]): included = False