This is an automated email from the ASF dual-hosted git repository.
jiayu 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 1ad5bf8e93 [CI] Dependabot pre-commit escosystem add cooldown; Add
pre-commit hook to validate the Dependabot config (#2793)
1ad5bf8e93 is described below
commit 1ad5bf8e9315846addf4a4562fdf305cca7482b2
Author: John Bampton <[email protected]>
AuthorDate: Sun Mar 29 18:04:21 2026 +1000
[CI] Dependabot pre-commit escosystem add cooldown; Add pre-commit hook to
validate the Dependabot config (#2793)
---
.github/dependabot.yml | 2 ++
.pre-commit-config.yaml | 5 +++++
2 files changed, 7 insertions(+)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 2bd45e0e76..e31861191b 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -50,3 +50,5 @@ updates:
pre-commit-hooks:
patterns:
- '*'
+ cooldown:
+ default-days: 7
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 2f0a34884b..8d401320c5 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -86,6 +86,11 @@ 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
+ entry: npx @bugron/[email protected]
+ language: system
+ files: ^\.github/dependabot\.yml$
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.6
hooks: