Skip to content

Commit

Permalink
Add git diff hook to pre-commit CI runs
Browse files Browse the repository at this point in the history
  • Loading branch information
beeankha committed Feb 29, 2024
1 parent 09ebe3c commit 7e32d88
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,11 @@ repos:
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: local
hooks:
- id: git-diff
name: git diff
entry: git diff --exit-code
language: system
pass_filenames: false
always_run: true

0 comments on commit 7e32d88

Please sign in to comment.