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", }, {