Skip to content

Commit 23b8a90

Browse files
authored
[CI] Refactor validate-dependabot-yaml hook to use language node (#2819)
1 parent 6beb6e5 commit 23b8a90

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,11 @@ repos:
8787
types: [file] # Ensure only regular files are passed, not directories
8888
stages: [manual]
8989
- id: validate-dependabot-yml
90-
name: Validate dependabot.yml
91-
entry: npx @bugron/validate-dependabot-yaml@0.3.3
92-
language: system
90+
name: validate dependabot.yml
91+
description: ensures the dependabot config file is valid
92+
entry: validate-dependabot-yaml
93+
language: node
94+
additional_dependencies: ['@bugron/validate-dependabot-yaml@0.3.3']
9395
files: ^\.github/dependabot\.yml$
9496
- repo: https://github.com/Lucas-C/pre-commit-hooks
9597
rev: v1.5.6

0 commit comments

Comments
 (0)