Skip to content

feat: contributes.yamlValidation#8761

Merged
alexr00 merged 1 commit into
microsoft:mainfrom
Malix-Labs:yaml-schema
Jun 3, 2026
Merged

feat: contributes.yamlValidation#8761
alexr00 merged 1 commit into
microsoft:mainfrom
Malix-Labs:yaml-schema

Conversation

@Malix-Labs

@Malix-Labs Malix-Labs commented May 29, 2026

Copy link
Copy Markdown
Contributor

I do no know if there would be another better URL than from https://json.schemastore.org/, feel free to suggest

Copilot AI review requested due to automatic review settings May 29, 2026 16:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/ (excluding config.{yml,yaml}).
  • Registers schema validation for the issue template config.{yml,yaml} file.

@alexr00 alexr00 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thank you!

@alexr00 alexr00 self-assigned this Jun 1, 2026
@alexr00 alexr00 added this to the 1.124.0 milestone Jun 1, 2026
@alexr00

alexr00 commented Jun 1, 2026

Copy link
Copy Markdown
Member

/AzurePipelines run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@Malix-Labs

Malix-Labs commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

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

@alexr00

alexr00 commented Jun 1, 2026

Copy link
Copy Markdown
Member

@Malix-Labs

Copy link
Copy Markdown
Contributor Author

@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?

@alexr00 alexr00 merged commit 0d8c187 into microsoft:main Jun 3, 2026
3 checks passed
@Malix-Labs Malix-Labs deleted the yaml-schema branch June 3, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants