Skip to content

Commit 1422312

Browse files
committed
Run lefthook liche only when md changed
1 parent 6d5eecd commit 1422312

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lefthook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ pre-commit:
66
run: mdl {staged_files}
77
liche:
88
tags: links
9-
glob: "**/*.md"
10-
run: liche -c 2 -r docs/* -d docs/
9+
glob: "*.md"
10+
run: liche -d docs/ -r docs/* CHANGELOG.md README.md && test {staged_files}
1111
forspell:
1212
tags: grammar
1313
glob: "**/*.md"

0 commit comments

Comments
 (0)