Skip to content

Commit 7180358

Browse files
committed
Build: Allow commit messages to start with "🚀 hint-..."
1 parent 14efa87 commit 7180358

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎scripts/check-commit-message.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ const isExcludedCommit = (commit) => {
174174
* special cases, so they don't need to be checked.
175175
*/
176176

177-
if ((/^🚀 (hint|(configuration|connector|formatter|parser|rule|utils)(-[0-9a-z]+)+) - v\d+\.\d+\.\d+/i).test(commit.message) ||
178-
(/^(Chore|Breaking): Update `(hint|(configuration|connector|formatter|parser|rule|utils)(-[0-9a-z]+)+)` to `v\d+\.\d+\.\d+`/i).test(commit.message)) {
177+
if ((/^🚀 (hint|(configuration|connector|formatter|hint|parser|rule|utils)(-[0-9a-z]+)+) - v\d+\.\d+\.\d+/i).test(commit.message) ||
178+
(/^(Chore|Breaking): Update `(hint|(configuration|connector|formatter|hint|parser|rule|utils)(-[0-9a-z]+)+)` to `v\d+\.\d+\.\d+`/i).test(commit.message)) {
179179
return true;
180180
}
181181

0 commit comments

Comments
 (0)