#!/bin/bash # # Pre-commit hook wrapper for secret leak detection. # # Installation: # git config core.hooksPath .githooks # # To bypass temporarily: # git commit --no-verify # set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" exec python3 "${SCRIPT_DIR}/pre-commit.py" "$@"