Skip to content

Commit

Permalink
fix(release-notes): Drop the re-classification of commits to "other" …
Browse files Browse the repository at this point in the history
…in some cases (#463)

* fix(release-notes): Only mark a commit as "other" if >=5 teams are touched

* Drop the reclassification to "other"
  • Loading branch information
sasa-tomic authored Jun 7, 2024
1 parent 4748b87 commit 075bde7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions release-controller/release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 075bde7

Please sign in to comment.