CI: Changelog: Critical Bug Fix to Bug Fix

This commit is contained in:
Max Kainov 2024-08-06 15:39:08 +02:00
parent 8301fa0b06
commit dbcc5cf133

View File

@ -38,7 +38,7 @@ categories_preferred_order = (
"Experimental Feature",
"Performance Improvement",
"Improvement",
"Critical Bug Fix (crash, LOGICAL_ERROR, data loss, RBAC)",
#"Critical Bug Fix (crash, LOGICAL_ERROR, data loss, RBAC)",
"Bug Fix (user-visible misbehavior in an official stable release)",
"Build/Testing/Packaging Improvement",
"Other",
@ -294,7 +294,8 @@ def generate_description(item: PullRequest, repo: Repository) -> Optional[Descri
r"(?i)bug\Wfix",
category,
)
and "Critical Bug Fix" not in category
# Map "Critical Bug Fix" to "Bug fix" category for changelog
#and "Critical Bug Fix" not in category
):
category = "Bug Fix (user-visible misbehavior in an official stable release)"