feat: contributes.yamlValidation#8761
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds built-in YAML schema validation for GitHub issue template files by registering yamlValidation contributions in the extension manifest.
Changes:
- Registers schema validation for GitHub issue form templates under
.github/ISSUE_TEMPLATE/(excludingconfig.{yml,yaml}). - Registers schema validation for the issue template
config.{yml,yaml}file.
|
/AzurePipelines run |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
|
yw @alexr00 <3 also please read #8761 (comment) + I strongly recommend you test it in your end to see if it works by default without needing any more extensions, since my setup is highly customized and have many extensions and non-default settings there might be a better URL I'm not (or even cannot be) aware of |
|
Looks like we already allow schemastore.org: |
|
@alexr00 yes indeed, but since Microsoft owns both GitHub Issues and thus its schema, isn't there a a static file in this repository / another Microsoft repository which could provide this yml schema as a path instead of relying on that external CDN? |
I do no know if there would be another better URL than from https://json.schemastore.org/, feel free to suggest