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

Add schema for .github/mergify.yml to schemastore.org #5046

Open
proinsias opened this issue Oct 13, 2022 · 4 comments
Open

Add schema for .github/mergify.yml to schemastore.org #5046

proinsias opened this issue Oct 13, 2022 · 4 comments

Comments

@proinsias
Copy link

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:

  1. Anybody can add the schema directly to the schemastore repo, or
  2. 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.

@jd
Copy link
Member

jd commented Oct 13, 2022

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.

@DaRacci
Copy link

DaRacci commented Apr 13, 2024

nay progress update on this?

@jd
Copy link
Member

jd commented Apr 15, 2024

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.

@jd
Copy link
Member

jd commented Apr 15, 2024

SchemaStore/schemastore#3711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants