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 148148 files : ^.*\.gitlab-ci\.yml$
149149 types : [yaml]
150150
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+
151167# this hook is autogenerated from a script
152168# to modify this hook, update `src/check_jsonschema/catalog.py`
153169# 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
197197 - id : check-gitlab-ci
198198
199199
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+
200214 ``check-readthedocs ``
201215~~~~~~~~~~~~~~~~~~~~~
202216
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ SchemaStore and other sources:
9797- ``vendor.github-actions ``
9898- ``vendor.github-workflows ``
9999- ``vendor.gitlab-ci ``
100+ - ``vendor.mergify ``
100101- ``vendor.readthedocs ``
101102- ``vendor.renovate ``
102103- ``vendor.taskfile ``
You can’t perform that action at this time.
0 commit comments