security: harden secret hygiene and pre-commit scanning

This commit is contained in:
2026-02-08 10:27:23 +03:00
parent f609d2ce35
commit 0dbfe45353
5 changed files with 84 additions and 4 deletions

5
.githooks/pre-commit Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
repo_root="$(git rev-parse --show-toplevel)"
"$repo_root/scripts/check-secrets.sh"