mergify
mergify copied to clipboard
Add schema for .github/mergify.yml to schemastore.org
Many IDEs use schemastore.org to validate json and yaml files. I personally use v8r as well. It would be really useful to have a schema for .github/mergify.yml.
There are two ways of providing such a schema:
- Anybody can add the schema directly to the schemastore repo, or
- The developer of the utility in question can host the schema and just link to this file in the schemastore repo.
Acceptance Criteria
I propose that you host the schema in one of this organization's repo, and then you or I can add it to schemastore.
Other Comments
Feel free to just close this issue if it's not something of interest to you, or it's not something you think you'll ever get to. I can just submit what I think the schema is myself to scratch this itch.
Thank you @proinsias that's a great suggestion. I never heard of https://www.schemastore.org It's going to be a lot of work right now for us to generate such a schema, but with some internal refactoring, we could generate it automatically.
nay progress update on this?
The schema is available here: https://docs.mergify.com/configuration/file-format/#json-schema-specification
I'll see if we can add it to schemastore.
https://github.com/SchemaStore/schemastore/pull/3711