Add secret scanning, layout checks, and a --changed mode

gitleaks runs before each commit and in CI, with known values in a redacted baseline. The layout check rejects empty readmes and main.yml role entrypoints. --changed lints only the YAML files that differ from HEAD.
This commit is contained in:
tanshu committed 2026-10-18 21:53:29 +05:30
1 parent f3845bde2b
commit 2aab1aec1e
8 files changed
+478 -19

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
[extend]
useDefault = true
[allowlist]
description = "Caches and vendored collections are not repo content"
paths = [
'''\.ansible/''',
'''\.scratch/''',
'''\.gitleaks-baseline\.json''',
]