Files
LLMScaffolding/scripts/commitlint-hook
ReachableCEO ca8905fa4e
Some checks are pending
CI / checks (pull_request) Waiting to run
chore(repo): clean root and move docs
- Move docs to docs/; keep areas for prompts only
- Relocate Makefile to scripts/Makefile; update docs to use it
- Move ci.Dockerfile to docker/ci.Dockerfile; update compose
- Move commitlint config to .config and update hook
- Remove root AGENTS.md (use area AGENTS.md)
2025-09-11 07:01:24 -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}"