forked from macadmins/escrow-buddy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
60 lines (53 loc) · 1.66 KB
/
.pre-commit-config.yaml
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
50
51
52
53
54
55
56
57
58
59
60
---
# https://github.com/antonbabenko/pre-commit-terraform
# brew install pre-commit terraform-docs tflint tfsec trivy checkov terrascan infracost tfupdate minamijoyo/hcledit/hcledit jq
# https://github.com/pre-commit/pre-commit-hooks
# https://github.com/python-jsonschema/check-jsonschema/
# https://github.com/trufflesecurity/trufflehog
fail_fast: true
repos:
- repo: local
hooks:
- id: trufflehog
name: Check TruffleHog
entry: bash -c 'trufflehog git file://. --since-commit HEAD --only-verified --fail --no-update'
language: system
stages: ["pre-commit", "push"]
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.4.0
hooks:
- id: conventional-pre-commit
name: Check Conventional Commit
stages: [commit-msg]
args: [--strict, --force-scope]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
name: Check YAML
stages: [pre-commit]
- id: end-of-file-fixer
name: Check End of Files
stages: [pre-commit]
- id: trailing-whitespace
name: Check Trailing Whitespace
stages: [pre-commit]
args: [
--markdown-linebreak-ext=md
]
- id: check-merge-conflict
name: Check for Merge Conflicts
stages: [pre-commit]
- id: detect-private-key
name: Check Private Keys
stages: [pre-commit]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.1
hooks:
# - id: check-github-actions
# name: Check GitHub Actions
# args: ["--verbose"]
- id: check-github-workflows
name: Check GitHub Workflows
stages: [pre-commit]
args: ["--verbose"]