Skip to content

Commit 505b1cb

Browse files
committed
[CI] Add manual pre-commit hook to validate the dependabot config
https://www.npmjs.com/package/@bugron/validate-dependabot-yaml
1 parent 7eea9ed commit 505b1cb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ repos:
3131
- id: doctoc
3232
name: Add TOC for Markdown files
3333
files: ^CONTRIBUTING\.md$|^INSTALL\.md$|^README\.md$
34+
- repo: local
35+
hooks:
36+
- id: validate-dependabot-yml
37+
name: Validate dependabot.yml
38+
entry: npx @bugron/validate-dependabot-yaml@0.3.3
39+
language: system
40+
files: ^\.github/dependabot\.yml$
41+
stages: [manual]
3442
- repo: https://github.com/oxipng/oxipng
3543
rev: v9.1.5
3644
hooks:

0 commit comments

Comments
 (0)