CI: Fix commit linting for multi-line commit messages

Third time's the charm
This commit is contained in:
Lucas CHOLLET 2022-12-10 18:17:11 +01:00 committed by Linus Groh
parent b3478b3613
commit fa29214d9a
Notes: sideshowbarker 2024-07-17 23:00:03 +09:00

View file

@ -29,7 +29,7 @@ jobs:
error: "Commit message lines are too long (maximum allowed is 72 characters, except for URLs)", error: "Commit message lines are too long (maximum allowed is 72 characters, except for URLs)",
}, },
{ {
pattern: /^((?!^Merge branch).)*$/, pattern: /^((?!^Merge branch )[\s\S])*$/,
error: "Commit is a git merge commit, use the rebase command instead", error: "Commit is a git merge commit, use the rebase command instead",
}, },
{ {