Skip to content

Commit ecd2b99

Browse files
committed
chore: only run schema check when schemas-related files changed
1 parent 57a1e15 commit ecd2b99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@
4040
language: script
4141
entry: ./kafka-check-local-schemas.sh
4242
stages: [commit]
43-
always_run: true
43+
files: ^(schemas/|src/main/scala/[^/]+/models/)
4444
pass_filenames: false

0 commit comments

Comments
 (0)