-
Notifications
You must be signed in to change notification settings - Fork 40
/
.pre-commit-hooks.yaml
235 lines (216 loc) · 8.86 KB
/
.pre-commit-hooks.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
- id: check-jsonschema
name: Validate files with jsonschema
description: 'Validate JSON or YAML files against a jsonschema on disk or fetched via HTTP(S)'
entry: check-jsonschema
language: python
types_or: [json,yaml]
# we need types_or support
minimum_pre_commit_version: 2.9.0
- id: check-metaschema
name: Validate JSON Schema files
description: 'Validate JSON Schema files against their matching metaschema'
entry: check-jsonschema --check-metaschema
language: python
types_or: [json,yaml]
# we need types_or support
minimum_pre_commit_version: 2.9.0
# --AUTOGEN_HOOKS_START-- #
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-azure-pipelines
name: Validate Azure Pipelines
description: 'Validate Azure Pipelines config against the schema provided by Microsoft'
entry: check-jsonschema --builtin-schema vendor.azure-pipelines --data-transform azure-pipelines
language: python
files: ^(\.)?azure-pipelines\.(yml|yaml)$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-bamboo-spec
name: Validate Bamboo Specs
description: 'Validate Bamboo Specs against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.bamboo-spec
language: python
files: ^bamboo-specs/.*\.(yml|yaml)$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-bitbucket-pipelines
name: Validate Bitbucket Pipelines
description: 'Validate Bitbucket Pipelines against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.bitbucket-pipelines
language: python
files: bitbucket-pipelines\.(yml|yaml)$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-buildkite
name: Validate Buildkite Pipelines
description: 'Validate Buildkite Pipelines against the schema provided by Buildkite'
entry: check-jsonschema --builtin-schema vendor.buildkite
language: python
files: >
(?x)^(
buildkite\.(yml|yaml|json)|
buildkite\.(.+)\.(yml|yaml|json)|
(.*/)?\.buildkite/pipeline\.(yml|yaml|json)|
(.*/)?\.buildkite/pipeline\.(.+)\.(yml|yaml|json)
)$
types_or: [json,yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-circle-ci
name: Validate CircleCI config
description: 'Validate CircleCI config against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.circle-ci
language: python
files: ^\.circleci/config\.(yml|yaml)$
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-cloudbuild
name: Validate Google Cloud Build config
description: 'Validate Google Cloud Build config against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.cloudbuild
language: python
files: ^cloudbuild\.(yml|yaml|json)$
types_or: [json,yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-dependabot
name: Validate Dependabot Config (v2)
description: 'Validate Dependabot Config (v2) against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.dependabot
language: python
files: ^\.github/dependabot\.(yml|yaml)$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-drone-ci
name: Validate Drone-CI Config
description: 'Validate Drone-CI Config against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.drone-ci
language: python
files: ^\.drone\.yml$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-github-actions
name: Validate GitHub Actions
description: 'Validate GitHub Actions against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.github-actions
language: python
files: >
(?x)^(
action\.(yml|yaml)|
\.github/actions/(.+/)?action\.(yml|yaml)
)$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-github-workflows
name: Validate GitHub Workflows
description: 'Validate GitHub Workflows against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.github-workflows
language: python
files: ^\.github/workflows/[^/]+$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-gitlab-ci
name: Validate GitLab CI config
description: 'Validate GitLab CI config against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.gitlab-ci --data-transform gitlab-ci
language: python
files: ^.*\.gitlab-ci\.yml$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-mergify
name: Validate Mergify config
description: 'Validate Mergify config against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.mergify
language: python
files: >
(?x)^(
\.mergify\.yml|
\.mergify/config\.yml|
\.github/mergify\.yml
)$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-readthedocs
name: Validate ReadTheDocs Config
description: 'Validate ReadTheDocs config against the schema provided by ReadTheDocs'
entry: check-jsonschema --builtin-schema vendor.readthedocs
language: python
files: ^\.readthedocs\.(yml|yaml)$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-renovate
name: Validate Renovate Config
description: 'Validate Renovate config against the schema provided by Renovate (does not support renovate config in package.json)'
entry: check-jsonschema --builtin-schema vendor.renovate
language: python
files: >
(?x)^(
renovate\.(json|json5)|
\.(github|gitlab)/renovate\.(json|json5)|
\.renovaterc|
\.renovaterc\.(json|json5)
)$
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-taskfile
name: Validate Taskfile Config
description: 'Validate Taskfile config against the schema provided by Task'
entry: check-jsonschema --builtin-schema vendor.taskfile
language: python
files: >
(?x)^(
Taskfile\.(yml|yaml)|
taskfile\.(yml|yaml)|
Taskfile\.dist\.(yml|yaml)|
taskfile\.dist\.(yml|yaml)
)$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-travis
name: Validate Travis Config
description: 'Validate Travis Config against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.travis
language: python
files: ^\.travis\.(yml|yaml)$
types: [yaml]
# this hook is autogenerated from a script
# to modify this hook, update `src/check_jsonschema/catalog.py`
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
- id: check-woodpecker-ci
name: Validate Woodpecker Config
description: 'Validate Woodpecker Config against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.woodpecker-ci
language: python
files: >
(?x)^(
^\.woodpecker\.(yml|yaml)$|
^\.woodpecker/.+\.(yml|yaml)$
)$
types: [yaml]