Closed DoomGerbil closed 4 years ago
Ah, sorry you hit that. I believe we just need to allow unknown keys in the schema by removing the last line in https://github.com/buildkite/pipeline-schema/blob/master/schema.json.
Would happily accept a PR with a test case if you wanted to give it a go?
Ah, sorry you hit that. I believe we just need to allow unknown keys in the schema by removing the last line in https://github.com/buildkite/pipeline-schema/blob/master/schema.json.
Would happily accept a PR with a test case if you wanted to give it a go?
I'll take a swing at this when I have a chance this week. Thanks!
@toolmantim I finally got around to this, and opened https://github.com/buildkite/pipeline-schema/pull/5. Thanks! :)
I'm unsure if this is something that comes up as invalid based on the schema, or if this is because the schema validation plugin I'm using in VSCode doesn't know how to deal with them, but our BuildKite pipelines use a lot of YAML named anchors, and they all appear as invalid, as below:
Is this something that can be fixed in the schema, or is this a bug for the plugin?