You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2026/05/23 18:52:06 UTC
(sedona) branch master updated: [CI] Replace check-dependabot hook with more robust option (#2987)
This is an automated email from the ASF dual-hosted git repository.
jiayuasu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new ca747c2c08 [CI] Replace check-dependabot hook with more robust option (#2987)
ca747c2c08 is described below
commit ca747c2c080cabcec66959d0400832893b30ea1b
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Sun May 24 04:52:01 2026 +1000
[CI] Replace check-dependabot hook with more robust option (#2987)
---
.pre-commit-config.yaml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a55fdfd64c..8d1d8b7410 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -86,13 +86,6 @@ repos:
pass_filenames: true # <-- Crucial change: pass filenames to the script
types: [file] # Ensure only regular files are passed, not directories
stages: [manual]
- - id: validate-dependabot-yml
- name: validate dependabot.yml
- description: ensures the dependabot config file is valid
- entry: validate-dependabot-yaml
- language: node
- additional_dependencies: ['@bugron/validate-dependabot-yaml@0.3.3']
- files: ^\.github/dependabot\.yml$
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.6
hooks:
@@ -501,6 +494,13 @@ repos:
exclude: ^\.github/.*$
types: [markdown]
files: \.md$
+ - 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: