@@ -85,31 +85,38 @@ repos:
85
85
# - id: check-azure-pipelines
86
86
- id : check-dependabot
87
87
- id : check-github-workflows
88
+ # NOTE: If any of the below schema files need to be changed, be sure to
89
+ # update the `ci/vendor_schemas.py` script.
88
90
- id : check-jsonschema
91
+ name : " Validate AppVeyor config"
89
92
files : ^\.appveyor\.yml$
90
- args : ["--verbose", "--schemafile", "https://json.schemastore.org /appveyor.json"]
93
+ args : ["--verbose", "--schemafile", "ci/schemas /appveyor.json"]
91
94
- id : check-jsonschema
95
+ name : " Validate CircleCI config"
92
96
files : ^\.circleci/config\.yml$
93
- args : ["--verbose", "--schemafile", "https://json.schemastore.org /circleciconfig.json"]
97
+ args : ["--verbose", "--schemafile", "ci/schemas /circleciconfig.json"]
94
98
- id : check-jsonschema
99
+ name : " Validate GitHub funding file"
95
100
files : ^\.github/FUNDING\.yml$
96
- args : ["--verbose", "--schemafile", "https://json.schemastore.org /github-funding.json"]
101
+ args : ["--verbose", "--schemafile", "ci/schemas /github-funding.json"]
97
102
- id : check-jsonschema
103
+ name : " Validate GitHub issue config"
98
104
files : ^\.github/ISSUE_TEMPLATE/config\.yml$
99
- args : ["--verbose", "--schemafile", "https://json.schemastore.org /github-issue-config.json"]
105
+ args : ["--verbose", "--schemafile", "ci/schemas /github-issue-config.json"]
100
106
- id : check-jsonschema
107
+ name : " Validate GitHub issue templates"
101
108
files : ^\.github/ISSUE_TEMPLATE/.*\.yml$
102
109
exclude : ^\.github/ISSUE_TEMPLATE/config\.yml$
103
- args : ["--verbose", "--schemafile", "https://json.schemastore.org /github-issue-forms.json"]
110
+ args : ["--verbose", "--schemafile", "ci/schemas /github-issue-forms.json"]
104
111
- id : check-jsonschema
112
+ name : " Validate CodeCov config"
105
113
files : ^\.github/codecov\.yml$
106
- args : ["--verbose", "--schemafile", "https://json.schemastore.org /codecov.json"]
114
+ args : ["--verbose", "--schemafile", "ci/schemas /codecov.json"]
107
115
- id : check-jsonschema
116
+ name : " Validate GitHub labeler config"
108
117
files : ^\.github/labeler\.yml$
109
- args : ["--verbose", "--schemafile", "https://json.schemastore.org /pull-request-labeler-5.json"]
118
+ args : ["--verbose", "--schemafile", "ci/schemas /pull-request-labeler-5.json"]
110
119
- id : check-jsonschema
120
+ name : " Validate Conda environment file"
111
121
files : ^environment\.yml$
112
- args :
113
- - " --verbose"
114
- - " --schemafile"
115
- - " https://github.com/microsoft/vscode-python/raw/main/schemas/conda-environment.json"
122
+ args : ["--verbose", "--schemafile", "ci/schemas/conda-environment.json"]
0 commit comments