vscode-yaml
vscode-yaml copied to clipboard
Erroneous schema detection
Describe the bug
I have file .github/workflows/build.yaml , which is highlighted red with this error:
Property name is not allowed. yaml-schema: gRPC API Gateway & OpenAPI Config
The file has nothing to do with gRPC or OpenAPI and should not be checked as such.
Expected Behavior
Do not use schema for gRPC & OpenAPI with github woskflows file.
Current Behavior
File is checked against wrong schema.
Steps to Reproduce
- Install YAML extension
- Create file .github/workflows/build.yaml with some standard Github Workflow
- See that errors would appear from wrong schema
Environment
- [ ] Ubuntu 24.04