Files
LLMScaffolding/scripts/commitlint-hook
Charles N Wyble 408db0d0cc
Some checks failed
CI / checks (pull_request) Waiting to run
CI / checks (push) Has been cancelled
chore(ci): bootstrap CI + hooks
Squash-merge bootstrap-cicd into integration
2025-09-10 21:48:32 +00:00

11 lines
273 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 --edit ${MSG_FILE}"