Commit d3da4ee
ci: add conventional commit validation to CI pipeline (#24)
* ci: add conventional commit validation to CI pipeline
Add a new CI job that validates all commits in pull requests follow
Conventional Commits format. This ensures compatibility with release-please
and prevents releases from failing due to unparseable commit messages.
The validator checks for:
- Standard types (feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert)
- Optional scope in parentheses
- Optional breaking change indicator (!)
- Proper format: type(scope)!: description
Additionally validates PR titles using action-semantic-pull-request.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: skip merge commits in conventional commit validation
GitHub automatically creates merge commits for PR branches that don't
follow conventional commit format. These should be skipped during
validation as they're automatically generated and don't affect
release-please's parsing of actual commits.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent e0e9adb commit d3da4ee
1 file changed
+50
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
42 | 92 | | |
43 | 93 | | |
44 | 94 | | |
| |||
0 commit comments