#!/usr/bin/env bash
# F∆I Platform — pre-commit hook.
# Activated via `tools/install-hooks.sh` (sets core.hooksPath=.githooks).
# Scans staged files for secrets, banned phrases, forbidden filenames.
# Same script runs in Forgejo CI — see .forgejo/workflows/ci.yml.
exec "$(git rev-parse --show-toplevel)/tools/security/check-staged.sh" content
