Skip to content

CI: Add commit message checker#8

Closed
duanyangjing wants to merge 1 commit into
jdk17u-target8from
aime/commit-msg-checker
Closed

CI: Add commit message checker#8
duanyangjing wants to merge 1 commit into
jdk17u-target8from
aime/commit-msg-checker

Conversation

@duanyangjing

Copy link
Copy Markdown
Owner

Summary\n- add a Python-based commit message checker for the bracket-tag format proposed in the design doc\n- add unit tests for valid and invalid commit title/body/trailer combinations\n- add a GitHub Actions workflow to validate commit messages on pull requests\n\n## Verification\n- python3 test_check_commit_msg.py\n- printf '[Hotspot] Fix memleak\n\nIssue: #1\n' | python3 check_commit_msg.py --stdin\n- printf 'hotspot: Fix memleak\n' | python3 check_commit_msg.py --stdin

@duanyangjing duanyangjing force-pushed the aime/commit-msg-checker branch 11 times, most recently from b20569c to 279db99 Compare May 28, 2026 09:01
Specification:
  Title: ([<component>])+ (<issue-id>:)? <short description>
  - Backport: [Backport] <BugID>: <description>
  - Self-developed: [<component>] <description>
  Body (optional): separated by blank line, 80 char width limit
  Trailers (optional): Issue: #<number>

Assisted by Doubao
@duanyangjing duanyangjing force-pushed the aime/commit-msg-checker branch from 279db99 to 5c7c0e2 Compare May 28, 2026 09:10
@duanyangjing

Copy link
Copy Markdown
Owner Author

merged in main repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant