From 004f4bdc154979ec6ec654f742c828aefc0c36d2 Mon Sep 17 00:00:00 2001 From: Hardy Date: Fri, 6 Dec 2024 13:58:48 +0800 Subject: [PATCH] fix: cmc pattern add Merge (#6) --- .github/workflows/commit-message-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit-message-check.yml b/.github/workflows/commit-message-check.yml index 105fcda2..fdfcf085 100644 --- a/.github/workflows/commit-message-check.yml +++ b/.github/workflows/commit-message-check.yml @@ -14,7 +14,7 @@ jobs: excludeDescription: 'true' # optional: this excludes the description body of a pull request excludeTitle: 'true' # optional: this excludes the title of a pull request accessToken: ${{ secrets.GITHUB_TOKEN }} - pattern: '^(change:|feat:|improve:|perf:|dep:|docs:|test:|ci:|style:|refactor:|fix:|fixdoc:|fixup:|merge|bumpver:|chore:|build:) .+$' + pattern: '^(change:|feat:|improve:|perf:|dep:|docs:|test:|ci:|style:|refactor:|fix:|fixdoc:|fixup:|merge|Merge|bumpver:|chore:|build:) .+$' flags: 'gm' error: | Subject line has to contain a commit type, e.g.: "chore: blabla" or a merge commit e.g.: "merge xxx".