From 4e9128119916f6a92cb690668360a7258236bd2e Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 31 Mar 2026 23:34:40 +1000 Subject: [PATCH] [CI] Refactor validate-dependabot-yaml hook to use language node --- .pre-commit-config.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8a201ea428..bd144cd19f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -87,9 +87,11 @@ repos: types: [file] # Ensure only regular files are passed, not directories stages: [manual] - id: validate-dependabot-yml - name: Validate dependabot.yml - entry: npx @bugron/validate-dependabot-yaml@0.3.3 - language: system + 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