Skip to content

Commit 43ee8a0

Browse files
matheuscasLee-W
authored andcommittedFeb 10, 2025·
docs(tutorials): Add "stages" explicitly to the hook example
As mentioned here: #177 (comment), without the stages explicitly set, the hook always fails.
1 parent 8519ca4 commit 43ee8a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎docs/tutorials/auto_check.md

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ repos:
2525
rev: v1.17.0
2626
hooks:
2727
- id: commitizen
28+
stages: [commit-msg]
2829
```
2930
3031
- Step 3: Install the configuration into git hook through `pre-commit`

0 commit comments

Comments
 (0)
Please sign in to comment.