https://github.com/gendloop/check-commit
check-commit, 检查提交是否满足规范
https://github.com/gendloop/check-commit
action
Last synced: 4 months ago
JSON representation
check-commit, 检查提交是否满足规范
- Host: GitHub
- URL: https://github.com/gendloop/check-commit
- Owner: gendloop
- License: gpl-2.0
- Created: 2024-08-19T02:15:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-24T07:02:03.000Z (7 months ago)
- Last Synced: 2025-10-09T03:32:15.589Z (4 months ago)
- Topics: action
- Language: Batchfile
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# check-commit
Check if the commit message meets the following format:
- `[optional scope]: `
* type
* fix -- Fixing a bug
* feat -- Adding a new feature
* chore -- Miscellaneous tasks
* ci -- Updating the workflow
* docs -- Updating documentation
* style -- Updating styles
* refactor -- Refactoring code
* test -- Updating tests
- `[optional scope]!: `
* Adding `!` indicates a major update
* Note that there is a space between `!:` and ``
- The colon is the symbol used in the English input method, not the symbol used in the Chinese input method.
## Usage
Place the [Check_Commit.yml](.github/workflows/Check_Commit.yml) file in the *.github/workflows* directory.