diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 391681e88c31..3c573ec8da27 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -216,3 +216,10 @@ repos: types: [yaml] files: \.ya?ml$ exclude: ^.*k8s-.*\.ya?ml$|^.github/workflows/.*\.lock\.ya?ml$ + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 12e63946db2c5cfcc9030fac21c3883ba88c6ed8 # frozen: 0.38.0 + hooks: + - id: check-dependabot + name: validate dependabot config + description: ensures the dependabot config file is valid + files: ^\.github/dependabot\.ya?ml$