Skip to content

feat: contributes.yamlValidation#8761

Open
Malix-Labs wants to merge 1 commit into
microsoft:mainfrom
Malix-Labs:yaml-schema
Open

feat: contributes.yamlValidation#8761
Malix-Labs wants to merge 1 commit into
microsoft:mainfrom
Malix-Labs:yaml-schema

Conversation

@Malix-Labs
Copy link
Copy Markdown
Contributor

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

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
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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.

Copy link
Copy Markdown
Member

@alexr00 alexr00 left a comment

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
Copy link
Copy Markdown
Member

alexr00 commented Jun 1, 2026

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

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

@Malix-Labs
Copy link
Copy Markdown
Contributor Author

Malix-Labs commented Jun 1, 2026

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
Copy link
Copy Markdown
Member

alexr00 commented Jun 1, 2026

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

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