chore(release): require canonical BREAKING CHANGE trailer for major

The bare 'breaking' major-bump keyword was matching substrings like
'breaking-value drift' in commit bodies, producing surprise major
bumps. Restrict the major trigger to the canonical Conventional
Commits trailer only.
This commit is contained in:
2026-05-09 18:19:03 +01:00
parent e4614d800f
commit f3fbef64ca
+4 -1
View File
@@ -39,5 +39,8 @@ wording:
minor:
- "feat"
major:
- "breaking"
# Match only the canonical Conventional Commits trailer. The bare
# word "breaking" is too greedy under semver-generator's fuzzy match —
# it triggers on substrings like "breaking-value drift" inside a
# commit body and wrongly produces a major bump.
- "BREAKING CHANGE"