ci(pyproject.toml): strict check for invalid commit messages#1494
ci(pyproject.toml): strict check for invalid commit messages#1494Lee-W merged 2 commits intocommitizen-tools:refactorsfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## refactors #1494 +/- ##
==========================================
Coverage 97.92% 97.92%
==========================================
Files 58 58
Lines 2704 2704
==========================================
Hits 2648 2648
Misses 56 56
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1dffc7d to
74d92d2
Compare
| check-commit.help = "Check the commit message" | ||
| check-commit.cmd = "cz -nr 3 check --rev-range origin/master.." | ||
| check-commit.help = "Check the commit messages" | ||
| check-commit.cmd = "poetry run cz --no-raise 3 check --rev-range origin/master.." |
There was a problem hiding this comment.
Added poetry run so the command can run on windows platform.
|
btw it would be great if we can check in this PR after #1457 because there will probably be conflicts and I want to fix the conflicts in this branch. |
let's mark it draft then |
e192688 to
c18d8aa
Compare
|
cc @noirbizarre We need this before our GitHub action can check the entire range against the default branch instead of by commits, which contributors might skip. |
Closes #1493
Description
check-committask beforecoverinpoetry allcommand.Checklist
Expected Behavior
Steps to Test This Pull Request
#1495 CI should not pass.
Additional Context