Files
LLMScaffolding/scripts/commitlint-hook
ReachableCEO cd9653c66a
Some checks failed
CI / checks (push) Has been cancelled
chore(repo): clean root; move docs; keep areas for prompts
2025-09-11 07:05:00 -05:00

10 lines
311 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
MSG_FILE="${1:-.git/COMMIT_EDITMSG}"
# Run commitlint inside the CI container against the commit message file
docker compose -f docker/ci.compose.yml run --rm \
-e IN_CI_CONTAINER=1 \
ci bash -lc "commitlint --config .config/commitlint.config.cjs --edit ${MSG_FILE}"