-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
34 lines (34 loc) · 1010 Bytes
/
.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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: no-commit-to-branch
name: Ensure commits are only made to feature branches
args: ['-b', 'main']
- id: end-of-file-fixer
name: Ensure files have end of file
- id: trailing-whitespace
name: Trims extra whitespaces
- id: check-toml
name: Checks TOML files
- repo: https://github.com/google/yamlfmt
rev: v0.10.0
hooks:
- id: yamlfmt
name: Yaml Formatting
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.83.2
hooks:
- id: terraform_fmt
name: Terraform FMT
- id: terragrunt_fmt
name: Terragrunt FMT
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.26.3
hooks:
- id: check-github-actions
name: GitHub actions check
- id: check-dependabot
name: GitHub Workflows
- id: check-dependabot
name: Dependabot