-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
104 lines (104 loc) · 2.67 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
fail_fast: false
ci:
autoupdate_schedule: monthly
skip:
- actionlint
- ansible-lint
- ggshield
repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.1.0
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/gitguardian/ggshield
rev: v1.34.0
hooks:
- id: ggshield
language_version: python3
stages: [pre-commit]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
args: [--maxkb=2048]
stages: [pre-commit]
- id: check-case-conflict
stages: [pre-commit]
- id: check-json
stages: [pre-commit]
- id: check-merge-conflict
stages: [pre-commit]
- id: check-vcs-permalinks
stages: [pre-commit]
- id: check-yaml
files: /.(yaml|yml)$
exclude: ^k8s/cluster/demo/flux-system
stages: [pre-commit]
- id: end-of-file-fixer
stages: [pre-commit]
- id: forbid-new-submodules
stages: [pre-commit]
- id: forbid-submodules
stages: [pre-commit]
- id: mixed-line-ending
args:
- --fix=lf
stages: [pre-commit]
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
stages: [pre-commit]
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-crlf
stages: [pre-commit]
- id: remove-tabs
stages: [pre-commit]
- repo: https://github.com/sirosen/texthooks
rev: 0.6.8
hooks:
- id: alphabetize-codeowners
- id: fix-ligatures
stages: [pre-commit]
- id: fix-smartquotes
stages: [pre-commit]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.42.0
hooks:
- id: markdownlint
args:
- --config
- .config/.markdown-lint.yml
stages: [pre-commit]
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
exclude: ^k8s/cluster/demo/flux-system
args:
- -c
- .config/.yaml-lint.yml
stages: [pre-commit]
- repo: https://github.com/rhysd/actionlint
rev: v1.7.4
hooks:
- id: actionlint
stages: [pre-push]
- repo: https://github.com/ansible-community/ansible-lint
rev: v24.12.2
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
args:
- -c
- .config/.ansible-lint.yml
- --fix
stages: [pre-commit]
- repo: https://github.com/tarioch/flux-check-hook
rev: v0.6.0
hooks:
- id: check-flux-helm-values
stages: [pre-commit]