-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
49 lines (48 loc) · 1.79 KB
/
.pre-commit-config.yaml
File metadata and controls
49 lines (48 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
args: [--allow-multiple-documents]
- id: detect-private-key
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0 # or specific git tag
hooks:
- id: shellcheck
args:
- "-e"
- "SC1090"
- "-e"
- "SC1091"
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.30.0
hooks:
- id: check-github-workflows
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
name: Detect secrets
description: Detects high entropy strings that are likely to be passwords.
entry: detect-secrets-hook
language: python
# for backward compatibility
files: .* # all files
args: ["--exclude-files", "vm/dagger.json|tests/vm/terraform.tfvars.enc.json|repository-linting/dagger.json",
"--exclude-files", "vmtemplate/dagger.json",
"--exclude-files", "configuration/dagger.json",
"--exclude-files", "go-microservice/dagger.json",
"--exclude-files", "presentations/dagger.json",
"--exclude-files", "kubernetes-deployment/dagger.json",
"--exclude-files", "kubernetes-microservice/dagger.json",
"--exclude-files", "flux/dagger.json",
"--exclude-files", "helm/dagger.json",
"--exclude-files", "secrets/dagger.json",
"--exclude-files", "argocd/dagger.json",
"--exclude-files", "argocd/dagger.gen.go"
]