From 2b753b2ca6a38df0f89e6e60f02e1bb0cd9fa520 Mon Sep 17 00:00:00 2001 From: Silvia Donati Date: Thu, 4 Jun 2026 14:43:50 +0100 Subject: [PATCH] feat(PLA-3227): include break within the existing convention commit checks --- main/githooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/githooks.py b/main/githooks.py index c10ff2e..35fba84 100644 --- a/main/githooks.py +++ b/main/githooks.py @@ -913,7 +913,7 @@ def conventional_commit_present(message): # build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test # Note: Angular does not use the `!` breaking-change marker in the header; pattern = re.compile( - r'^(BREAKING CHANGE|feat|fix|refactor|build|chore|ci|docs|perf|revert|style|test)' # type + r'^(BREAKING CHANGE|break|feat|fix|refactor|build|chore|ci|docs|perf|revert|style|test)' # type r'(\([\w\-\.\/]+\))?' # optional scope r': ' # required ": " r'.+' # subject