Skip to content

Commit 768d7cb

Browse files
committed
ci(github-actions): add check-commit task
1 parent 43ee8a0 commit 768d7cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ lint.sequence = [
237237
{cmd = "mypy commitizen/ tests/"},
238238
]
239239

240+
check-commit.help = "Check the commit message"
241+
check-commit.cmd = "cz -nr 3 check --rev-range origin/master.."
242+
240243
test.help = "Run the test suite"
241244
test.cmd = "pytest -n 3 --dist=loadfile"
242245

@@ -251,6 +254,7 @@ all.sequence = [
251254
"format",
252255
"lint",
253256
"cover",
257+
"check-commit"
254258
]
255259

256260
"doc:screenshots".help = "Render documentation screeenshots"

0 commit comments

Comments
 (0)