File tree Expand file tree Collapse file tree 6 files changed +1586
-0
lines changed Expand file tree Collapse file tree 6 files changed +1586
-0
lines changed Original file line number Diff line number Diff line change 148
148
files : ^.*\.gitlab-ci\.yml$
149
149
types : [yaml]
150
150
151
+ # this hook is autogenerated from a script
152
+ # to modify this hook, update `src/check_jsonschema/catalog.py`
153
+ # and run `make generate-hooks` or `tox run -e generate-hooks-config`
154
+ - id : check-mergify
155
+ name : Validate Mergify config
156
+ description : ' Validate Mergify config against the schema provided by SchemaStore'
157
+ entry : check-jsonschema --builtin-schema vendor.mergify
158
+ language : python
159
+ files : >
160
+ (?x)^(
161
+ \.mergify\.yml|
162
+ \.mergify/config\.yml|
163
+ \.github/mergify\.yml
164
+ )$
165
+ types : [yaml]
166
+
151
167
# this hook is autogenerated from a script
152
168
# to modify this hook, update `src/check_jsonschema/catalog.py`
153
169
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
Original file line number Diff line number Diff line change @@ -197,6 +197,20 @@ Validate GitLab CI config against the schema provided by SchemaStore
197
197
- id : check-gitlab-ci
198
198
199
199
200
+ ``check-mergify ``
201
+ ~~~~~~~~~~~~~~~~~
202
+
203
+ Validate Mergify config against the schema provided by SchemaStore
204
+
205
+ .. code-block :: yaml
206
+ :caption : example config
207
+
208
+ - repo : https://github.com/python-jsonschema/check-jsonschema
209
+ rev : 0.29.3
210
+ hooks :
211
+ - id : check-mergify
212
+
213
+
200
214
``check-readthedocs ``
201
215
~~~~~~~~~~~~~~~~~~~~~
202
216
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ SchemaStore and other sources:
97
97
- ``vendor.github-actions ``
98
98
- ``vendor.github-workflows ``
99
99
- ``vendor.gitlab-ci ``
100
+ - ``vendor.mergify ``
100
101
- ``vendor.readthedocs ``
101
102
- ``vendor.renovate ``
102
103
- ``vendor.taskfile ``
You can’t perform that action at this time.
0 commit comments