diff --git a/.github/workflows/commit-message-check.yml b/.github/workflows/commit-message-check.yml index f19dde70..19d7a82a 100644 --- a/.github/workflows/commit-message-check.yml +++ b/.github/workflows/commit-message-check.yml @@ -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. \ No newline at end of file + 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. \ No newline at end of file