From 6d47ae97315c611c49333538289c84d4612a3e4e Mon Sep 17 00:00:00 2001 From: Hardy Date: Tue, 14 Jan 2025 16:29:56 +0800 Subject: [PATCH] chore: commmit message check (#83) --- .github/workflows/commit-message-check.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/commit-message-check.yml b/.github/workflows/commit-message-check.yml index fdfcf085..98cf2279 100644 --- a/.github/workflows/commit-message-check.yml +++ b/.github/workflows/commit-message-check.yml @@ -12,9 +12,8 @@ jobs: with: checkAllCommitMessages: 'true' # optional: this checks all commits associated with a pull request 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|Merge|bumpver:|chore:|build:) .+$' + pattern: '^(change:|feat:|improve:|perf:|dep:|docs:|test:|ci:|style:|refactor:|fix:|fixdoc:|fixup:|merge|Merge|update|Update|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".