mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
CI: Correct regex to retrieve git merge commit
In 839c1a57
, I wrongly assumed that a matched pattern will raise an
error, it's the opposite. This patch "negates" the regex to solve the
issue.
This commit is contained in:
parent
54c12b76ed
commit
b3478b3613
1 changed files with 1 additions and 1 deletions
2
.github/workflows/lintcommits.yml
vendored
2
.github/workflows/lintcommits.yml
vendored
|
@ -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).)*$/,
|
||||||
error: "Commit is a git merge commit, use the rebase command instead",
|
error: "Commit is a git merge commit, use the rebase command instead",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue