Skip to content

Commit 1ea4b16

Browse files
committed
ci: commitlint via nix-shell
Signed-off-by: Steffen Siering <[email protected]>
1 parent dd3e920 commit 1ea4b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535
name: Commit Lint
3636
description: Runs commitlint against the commit message.
3737
language: system
38-
entry: bash -c "npm install @commitlint/config-conventional @commitlint/cli; cat $1 | awk '/^# -+.*>8.*-+/{exit} 1' | grep -v '^#' | npx commitlint"
38+
entry: bash -c "cat $1 | awk '/^# -+.*>8.*-+/{exit} 1' | grep -v '^#' | commitlint"
3939
args: [$1]
4040
stages: [commit-msg]
4141
- id: python-check

0 commit comments

Comments
 (0)