Skip to content

Commit 5fafc37

Browse files
committed
docs(pre-commit): add pre-commit hook todo
1 parent 4fd84b2 commit 5fafc37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.pre-commit-hooks.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
default branch on the origin repository. Useful for checking messages after
1919
the fact (e.g., pre-push or in CI) without an expensive check of the entire
2020
repository history.
21-
entry: cz check
21+
entry: cz -nr 3 check
22+
# FIXME: origin/HEAD seems to be wrong. it probably should be origin/master or origin/main instead
2223
args: [--rev-range, origin/HEAD..HEAD]
2324
always_run: true
2425
pass_filenames: false

0 commit comments

Comments
 (0)