Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erroneous schema detection #1047

Open
1 task
strowk opened this issue Aug 16, 2024 · 1 comment
Open
1 task

Erroneous schema detection #1047

strowk opened this issue Aug 16, 2024 · 1 comment

Comments

@strowk
Copy link

strowk commented Aug 16, 2024

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
@ShanePresley
Copy link

I hit this same issue with an Ansible playbook

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

No branches or pull requests

2 participants