vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

Erroneous schema detection

Open strowk opened this issue 1 year ago • 1 comments

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

  • [ ] Ubuntu 24.04

strowk avatar Aug 16 '24 12:08 strowk