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.
7 lines
238 B
Bash
Executable file
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
|