This is an automated email from the ASF dual-hosted git repository.

steinarb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shiro.git


The following commit(s) were added to refs/heads/main by this push:
     new 0c20f0db3 [CI] Add hook to validate dependabot.yml with pre-commit 
(#2716)
0c20f0db3 is described below

commit 0c20f0db3123c80748fbec5768ba6fa4407c5ab6
Author: John Bampton <[email protected]>
AuthorDate: Tue Jun 2 03:04:21 2026 +1000

    [CI] Add hook to validate dependabot.yml with pre-commit (#2716)
---
 .pre-commit-config.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index b641215c0..31cbb9e1c 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:

Reply via email to