mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-17 01:10:28 +03: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
Notes:
sideshowbarker
2024-07-17 03:28:06 +09:00
Author: https://github.com/LucasChollet Commit: https://github.com/SerenityOS/serenity/commit/b3478b3613 Pull-request: https://github.com/SerenityOS/serenity/pull/16413
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)",
|
||||
},
|
||||
{
|
||||
pattern: /^Merge branch/,
|
||||
pattern: /^((?!^Merge branch).)*$/,
|
||||
error: "Commit is a git merge commit, use the rebase command instead",
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user