chore: commmit message check (#83)

This commit is contained in:
Hardy 2025-01-14 16:29:56 +08:00 committed by GitHub
parent 8da176bea8
commit 6d47ae9731
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -12,9 +12,8 @@ jobs:
with: with:
checkAllCommitMessages: 'true' # optional: this checks all commits associated with a pull request checkAllCommitMessages: 'true' # optional: this checks all commits associated with a pull request
excludeDescription: 'true' # optional: this excludes the description body of 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 }} 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' flags: 'gm'
error: | error: |
Subject line has to contain a commit type, e.g.: "chore: blabla" or a merge commit e.g.: "merge xxx". Subject line has to contain a commit type, e.g.: "chore: blabla" or a merge commit e.g.: "merge xxx".