Skip to content

Commit ca1b59c

Browse files
authored
Merge pull request #1153 from IamTheFij/dco-hook
Add hook to check for signoff in commit messages
2 parents 976847e + b9f2779 commit ca1b59c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
default_install_hook_types: [pre-commit, commit-msg]
12
repos:
23
- repo: https://github.com/astral-sh/ruff-pre-commit
34
rev: v0.9.6
@@ -26,3 +27,8 @@ repos:
2627
rev: v2.2.5
2728
hooks:
2829
- id: codespell
30+
31+
- repo: https://github.com/gklein/check_signoff
32+
rev: v1.0.5
33+
hooks:
34+
- id: check-signoff

0 commit comments

Comments
 (0)