Skip to content

Commit 64f4477

Browse files
George Khouryevilmooncake
authored andcommitted
ci(pc): add pre-commit configuration
1 parent e5f1923 commit 64f4477

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# .pre-commit-config.yaml
2-
default_stages: [commit]
2+
default_stages: [pre-commit]
3+
34
repos:
45
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.3.0
6+
rev: v5.0.0
67
hooks:
78
- id: check-merge-conflict
89
- id: check-added-large-files
910
- id: trailing-whitespace
1011
- id: end-of-file-fixer
1112
- repo: https://github.com/zricethezav/gitleaks
12-
rev: v8.15.0
13+
rev: v8.24.0
1314
hooks:
1415
- id: gitleaks
1516
name: detect hardcoded secrets

0 commit comments

Comments
 (0)