pipe/.githooks/pre-commit
trvon 567a0b8a45
Some checks failed
Tests / Static Analysis (push) Has been cancelled
Tests / Tests (push) Has been cancelled
chore: adopt the yams repo layout
Mirrors the conventions used in ../yams: a sectioned .gitignore, thin
.githooks dispatchers over runnable scripts/, release-please config and
manifest, conventional-commit linting, CODEOWNERS, a PR template with a
rule-precision checkbox, and tests + commitlint workflows. CI calls
scripts/lint.sh so local hooks and CI cannot drift.
2026-09-20 17:03:37 -06:00

7 lines
238 B
Bash
Executable file

#!/usr/bin/env bash
# Thin dispatcher to scripts/lint.sh --hook, so the check logic stays runnable
# on demand outside the git hook.
set -euo pipefail
REPO_ROOT="$(git rev-parse --show-toplevel)"
exec "$REPO_ROOT/scripts/lint.sh" --hook