From 8cc7f44efdcd3a9f9fcb4a5994ea13ef9f775c86 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sat, 23 May 2026 04:36:59 +1000 Subject: [PATCH] [CI] Add hook to validate dependabot.yml with pre-commit --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3b9ed73b81..0c4a19750f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -155,6 +155,13 @@ repos: name: run oxipng description: check PNG files with oxipng args: ['--fix', '-o', '4', '--strip', 'safe', '--alpha'] + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.37.2 + hooks: + - id: check-dependabot + name: validate dependabot.yml + description: ensures the dependabot config file is valid + files: ^\.github/dependabot\.yml$ - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.11.0.1 hooks: