@@ -78,3 +78,38 @@ repos:
7878 hooks :
7979 - id : yamllint
8080 args : ["--strict", "--config-file=.yamllint.yml"]
81+ - repo : https://github.com/python-jsonschema/check-jsonschema
82+ rev : 0.28.0
83+ hooks :
84+ # TODO: Re-enable this when https://github.com/microsoft/azure-pipelines-vscode/issues/567 is fixed.
85+ # - id: check-azure-pipelines
86+ - id : check-dependabot
87+ - id : check-github-workflows
88+ - id : check-jsonschema
89+ files : ^\.appveyor\.yml$
90+ args : ["--verbose", "--schemafile", "https://json.schemastore.org/appveyor.json"]
91+ - id : check-jsonschema
92+ files : ^\.circleci/config\.yml$
93+ args : ["--verbose", "--schemafile", "https://json.schemastore.org/circleciconfig.json"]
94+ - id : check-jsonschema
95+ files : ^\.github/FUNDING\.yml$
96+ args : ["--verbose", "--schemafile", "https://json.schemastore.org/github-funding.json"]
97+ - id : check-jsonschema
98+ files : ^\.github/ISSUE_TEMPLATE/config\.yml$
99+ args : ["--verbose", "--schemafile", "https://json.schemastore.org/github-issue-config.json"]
100+ - id : check-jsonschema
101+ files : ^\.github/ISSUE_TEMPLATE/.*\.yml$
102+ exclude : ^\.github/ISSUE_TEMPLATE/config\.yml$
103+ args : ["--verbose", "--schemafile", "https://json.schemastore.org/github-issue-forms.json"]
104+ - id : check-jsonschema
105+ files : ^\.github/codecov\.yml$
106+ args : ["--verbose", "--schemafile", "https://json.schemastore.org/codecov.json"]
107+ - id : check-jsonschema
108+ files : ^\.github/labeler\.yml$
109+ args : ["--verbose", "--schemafile", "https://json.schemastore.org/pull-request-labeler-5.json"]
110+ - id : check-jsonschema
111+ files : ^environment\.yml$
112+ args :
113+ - " --verbose"
114+ - " --schemafile"
115+ - " https://github.com/microsoft/vscode-python/raw/main/schemas/conda-environment.json"
0 commit comments