redhat-developer / vscode-yaml

YAML support for VS Code with built-in kubernetes syntax support
MIT License
644 stars 218 forks source link

Erroneous schema detection #1047

Open strowk opened 4 weeks ago

strowk commented 4 weeks ago

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

  1. Install YAML extension
  2. Create file .github/workflows/build.yaml with some standard Github Workflow
  3. See that errors would appear from wrong schema

Environment

ShanePresley commented 2 weeks ago

I hit this same issue with an Ansible playbook