Skip to content

Vendor mergify schema #487

Closed
Closed
@hofbi

Description

@hofbi

It would be cool that also have mergify available as built in schema and pre defined hook. They provide a their schema in their docs.

This is the config I have for now to make this available without vendoring:

  - repo: https://github.com/python-jsonschema/check-jsonschema
    rev: 0.29.2
    hooks:
      - id: check-jsonschema
        alias: check-mergify
        args: ["--schemafile", "https://docs.mergify.com/mergify-configuration-schema.json"]
        files:
          (?x)^(
            .github/mergify.yml|
            .mergify.yml|
            .mergify/config.yml
          )
        types: [yaml]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions