From fa29214d9ab7fce395cba4688605a5d4d2b607bd Mon Sep 17 00:00:00 2001 From: Lucas CHOLLET Date: Sat, 10 Dec 2022 18:17:11 +0100 Subject: [PATCH] CI: Fix commit linting for multi-line commit messages Third time's the charm --- .github/workflows/lintcommits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lintcommits.yml b/.github/workflows/lintcommits.yml index 9a04f3636fa..d23a4a1c2d0 100644 --- a/.github/workflows/lintcommits.yml +++ b/.github/workflows/lintcommits.yml @@ -29,7 +29,7 @@ jobs: 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", }, {