Vscode-yaml: Validation Message: Property tags is not allowed.

Created on 23 Jan 2020  路  5Comments  路  Source: redhat-developer/vscode-yaml

I'm getting the following formatting squiggly in VS Code on the tags property in a Github workflow yaml file...

on:
  create:
    tags:
      - v*
schema_issue

All 5 comments

What is the error reported?

Also what is the name of your file? I've just checked the schema store and more than likely it would be matching with http://json.schemastore.org/github-workflow

@gorkem in the UI, it's literally a squiggly line, and when I hover Property tags is not allowed

@JPinkney the file in question [1] ... no idea on how any of the matching works.

  1. https://github.com/tracker1/node-ms-sqlcmd/blob/master/.github/workflows/npm-publish-tag.yml

So I just checked the schema store and tested it out and it looks like its getting matched with http://json.schemastore.org/github-workflow from the schema store.

I'm not familiar with github workflows at all to know the specification but its probably worth it to open an issue on https://github.com/SchemaStore/schemastore and they will fix the schema

It looks like this has been fixed upstream so I'm going to close.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Deilan picture Deilan  路  6Comments

ssbarnea picture ssbarnea  路  3Comments

nicholas-devlin picture nicholas-devlin  路  4Comments

gauthamp10 picture gauthamp10  路  5Comments

sheeeng picture sheeeng  路  7Comments