chore(precommit): scope zizmor hook to workflows, actions and dependabot (#10997)

Co-authored-by: Pablo F.G <pablo.fernandez@prowler.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pablo Fernandez Guerra (PFE)
2026-05-12 10:06:47 +02:00
committed by GitHub
co-authored by Pablo F.G Claude Opus 4.7
parent adbfc0bcd1
commit 1fd6c51af6
+3 -1
View File
@@ -44,7 +44,9 @@ repos:
rev: v1.24.1
hooks:
- id: zizmor
files: ^\.github/
# zizmor only audits workflows, composite actions and dependabot
# config; broader paths trip exit 3 ("no audit was performed").
files: ^\.github/(workflows|actions)/.+\.ya?ml$|^\.github/dependabot\.ya?ml$
priority: 30
## BASH