2026-10-11 21:30:44 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
# Install as .git/hooks/pre-commit; rejects generated/evidence-only auto commits too.
|
|
|
|
|
set -eu
|
|
|
|
|
REPO_ROOT="$(git rev-parse --show-toplevel)"
|
2026-10-19 12:42:11 +02:00
|
|
|
python3 "$REPO_ROOT/scripts/check_generated_only_commit.py" --staged
|
|
|
|
|
exec python3 "$REPO_ROOT/scripts/run_generated_work_records_hook.py"
|