ci: add local pre-commit gitleaks hook
CI / skip-ci-check (push) Successful in 13s
CI / secret-scan (push) Successful in 9s
CI / node-ci (push) Successful in 28s

This commit was merged in pull request #2.
This commit is contained in:
2026-07-13 14:44:39 -05:00
parent f2edb9cb5b
commit 3100d04178
3 changed files with 82 additions and 0 deletions
+9
View File
@@ -1,6 +1,15 @@
# Homelab bootstrap — gitleaks allowlist (tests, examples, placeholders)
#
# IMPORTANT: `useDefault = true` is required — without it gitleaks loads ONLY
# this file (title + allowlist) with ZERO detection rules, so it would never
# flag a real secret. Fixed 2026-07 (security-hardening track); if you're
# re-pushing this template to a repo that already had the old version, that
# repo's secret scanning was a no-op until this lands.
title = "homelab gitea bootstrap"
[extend]
useDefault = true
[allowlist]
description = "Test fixtures and example configs are not production secrets"
paths = [