Skip to content

Commit ba7435a

Browse files
committed
ci: allow breaking change commits
1 parent 8cb6027 commit ba7435a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/verifyCommit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const msg = readFileSync(msgPath, 'utf-8').trim();
1212

1313
const releaseRE = /^v\d/;
1414
const commitRE =
15-
/^(revert: )?(feat|fix|docs|dx|refactor|perf|test|locale|workflow|build|ci|chore|types|wip|release|deps)(\(.+\))?: .{1,50}/;
15+
/^(revert: )?(feat|fix|docs|dx|refactor|perf|test|locale|workflow|build|ci|chore|types|wip|release|deps)(\(.+\))?\!?: .{1,50}/;
1616

1717
const isMergeCommit = msg.startsWith('Merge remote-tracking-branch');
1818

0 commit comments

Comments
 (0)