diff --git a/scripts/changelog_check.rb b/scripts/changelog_check.rb index e096ee3bd83..7388cb512cd 100755 --- a/scripts/changelog_check.rb +++ b/scripts/changelog_check.rb @@ -6,7 +6,6 @@ %r{^(?:\* )?changelog: ?(?[\w -]{2,}), ?(?[\w -]{2,}), ?(?.+)$}i CATEGORIES = [ 'User-Facing Improvements', - 'Improvements', # Temporary for transitional period 'Bug Fixes', 'Internal', 'Upcoming Features', @@ -106,7 +105,7 @@ def generate_invalid_changes(git_log) end def closest_change_category(change) - category = CATEGORIES. + CATEGORIES. map do |category| CategoryDistance.new( category, @@ -116,10 +115,6 @@ def closest_change_category(change) filter { |category_distance| category_distance.distance <= MAX_CATEGORY_DISTANCE }. max { |category_distance| category_distance.distance }&. category - - # Temporarily normalize legacy category in transitional period - category = 'User-Facing Improvements' if category == 'Improvements' - category end # Get the last valid changelog line for every Pull Request and tie it to the commit subject.