We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a2e6af1 + 13b68ea commit 5a2d8bfCopy full SHA for 5a2d8bf
1 file changed
.github/workflows/pr-check.yml
@@ -41,7 +41,9 @@ jobs:
41
}
42
43
// 2. Conventional format check
44
- const conventionalRegex = /^(feat|fix|refactor|docs|style|test|chore|ci|perf|build|revert)(\([^)]+\))?:\s.+/;
+
45
+ const conventionalRegex = /^(feat|fix|refactor|docs|style|test|chore|ci|perf|build|revert)(\([^)]+\))?:\s\S.*/;
46
47
if (title && !conventionalRegex.test(title)) {
48
errors.push(
49
'PR title must follow conventional format: `type(scope): description`\n' +
0 commit comments