Skip to content

Commit f3c5ce3

Browse files
committed
⬆️ Run 'make generate-hooks' to update hooks
1 parent 3866f8d commit f3c5ce3

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,17 @@
7979
files: ^\.github/dependabot.(yml|yaml)$
8080
types: [yaml]
8181

82+
# this hook is autogenerated from a script
83+
# to modify this hook, update `src/check_jsonschema/catalog.py`
84+
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
85+
- id: check-drone-ci
86+
name: Validate Drone-CI Config
87+
description: 'Validate Drone-CI Config against the schema provided by SchemaStore'
88+
entry: check-jsonschema --builtin-schema vendor.drone-ci
89+
language: python
90+
files: ^\.drone\.yml$
91+
types: [yaml]
92+
8293
# this hook is autogenerated from a script
8394
# to modify this hook, update `src/check_jsonschema/catalog.py`
8495
# and run `make generate-hooks` or `tox run -e generate-hooks-config`

docs/precommit_usage.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,20 @@ Validate Dependabot Config (v2) against the schema provided by SchemaStore
113113
- id: check-dependabot
114114
115115
116+
``check-drone-ci``
117+
~~~~~~~~~~~~~~~~~~
118+
119+
Validate Drone-CI Config against the schema provided by SchemaStore
120+
121+
.. code-block:: yaml
122+
:caption: example config
123+
124+
- repo: https://github.com/python-jsonschema/check-jsonschema
125+
rev: 0.24.1
126+
hooks:
127+
- id: check-drone-ci
128+
129+
116130
``check-github-actions``
117131
~~~~~~~~~~~~~~~~~~~~~~~~
118132

docs/usage.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ SchemaStore and other sources:
7777
- ``vendor.bitbucket-pipelines``
7878
- ``vendor.buildkite``
7979
- ``vendor.dependabot``
80+
- ``vendor.drone-ci``
8081
- ``vendor.github-actions``
8182
- ``vendor.github-workflows``
8283
- ``vendor.gitlab-ci``

0 commit comments

Comments
 (0)