Skip to content

Add check-github-funding pre-commit hook #725

Open

Description

@pygarap

Problem

check-jsonschema provides dedicated pre-commit hooks for several GitHub configuration files, but there is no built-in hook for .github/FUNDING.yml. Users currently need to configure the generic check-jsonschema hook with the SchemaStore schema manually.

Proposal

Add the GitHub Funding schema as a vendored builtin schema and expose a generated check-github-funding hook in the supported pre-commit hooks, following the existing catalog-driven pattern used by the other GitHub hooks.
Using: https://www.schemastore.org/github-funding.json.

Usage

- repo: https://github.com/python-jsonschema/check-jsonschema
  rev: <version>
  hooks:
    - id: check-github-funding

References

Activity

  1. sirosen commented on Oct 21, 2026

    @sirosen
    Member

    Since we've now gotten a second PR for this which violates the project stance on AI usage, I'll go ahead and say:

    I want to add this! Thanks for the original filing.
    It's a great issue to take if someone wants to help out with the intent to stick around. Most likely, I'll the up doing it myself in order to prevent further bot "contributions".

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions