From b5d81125ce74abec244219ad2f1ab7faa2196ed5 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Wed, 21 Feb 2024 13:35:18 +0100 Subject: [PATCH] ci: add schema validation for GH Actions Signed-off-by: Matej Focko --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aebccbe..3ceff2b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -53,3 +53,8 @@ repos: # The hook runs 'gitleaks protect --staged' which parses output of # 'git diff --staged', i.e. always passes in pre-push/manual stage. stages: [commit] + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.28.0 + hooks: + - id: check-github-workflows + args: ["--verbose"]