redhat-developer / vscode-yaml

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

Detected Tekton tasks as Ansible tasks #1015

Open abdonrd opened 3 months ago

abdonrd commented 3 months ago

Describe the bug

When I open a Tekton task, VSCode detect it as Ansible task:

Screenshot 2024-03-19 at 4 20 03 PM

Expected Behavior

Detected as Tekton task. Or at least not detect it as Ansible.

Current Behavior

Detected as Ansible task.

Steps to Reproduce

Create a Tekton task an open it.

Environment

minht11 commented 1 week ago

I am experiencing the same thing with .moon/tasks https://moonrepo.dev/moon Likely any tasks folder is auto assumed as Ansible. I even have $schema field but it still emits errors.