Skip to content

Commit 6ce2dba

Browse files
committed
ci: ignore merge commits in commit check
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 815b0e7 commit 6ce2dba

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/commitlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
invalid=0
1919
while IFS= read -r message; do
2020
[[ -z "$message" ]] && continue
21+
[[ "$message" =~ ^Merge\ ]] && continue
2122
2223
if [[ "$message" =~ ^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([a-z0-9._/-]+\))?!?:\ .+ ]]; then
2324
continue

0 commit comments

Comments
 (0)