Skip to content

Commit

Permalink
chore: update cmc pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
luohoufu committed Dec 5, 2024
1 parent ed96402 commit 58f844f
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/commit-message-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ 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:|Feature:|Improve:|Perf:|Dep:|Doc:|Test:|CI:|Refactor:|Fix:|Fixdoc:|Fixup:|Merge|BumpVer:|Chore:|Build\(deps\):) .+$'
pattern: '^(change:|feat:|improve:|perf:|dep:|docs:|test:|ci:|style:|refactor:|fix:|fixdoc:|fixup:|merge|bumpver:|chore:|build\(deps\):) .+$'
flags: 'gm'
error: |
Subject line has to contain a commit type, e.g.: "Change: 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".
Valid types are:
Change - API breaking change
Feature - API compatible new feature
Improve - Become better without functional changes
Perf - Performance improvement
Dep - dependency update
Doc - doc update
Test - test udpate
CI - CI workflow update
Refactor - refactor without function change.
Fix - fix bug
Fixdoc - fix doc
Fixup - minor change: e.g., fix sth mentioned in a review.
BumpVer - Bump to a new version.
Chore - Nothing important.
Build(deps) - bot: dependabot.
change - API breaking change
feat - API compatible new feature
improve - Become better without functional changes
perf - Performance improvement
dep - dependency update
docs - docs update
test - test udpate
ci - CI workflow update
refactor - refactor without function change.
fix - fix bug
fixdoc - fix doc
fixup - minor change: e.g., fix sth mentioned in a review.
bumpver - Bump to a new version.
chore - Nothing important.
build - bot: dependabot.

0 comments on commit 58f844f

Please sign in to comment.