Skip to content

Commit 143b415

Browse files
committed
ci: Improve error message in title checker
1 parent f6b4cf4 commit 143b415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/title-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const match = title.match(regex);
2323
2424
if (!match) {
25-
core.setFailed("PR title does not follow format: 'type(scope)!: description'");
25+
core.setFailed("PR title does not follow any of the accepted formats:\n 'type(scope)!: Description'\n 'type(scope): Description'\n 'type!: Description'\n 'type: Description'\n See https://www.conventionalcommits.org/ for more details");
2626
return;
2727
}
2828

0 commit comments

Comments
 (0)