Some checks are pending
CI / checks (pull_request) Waiting to run
- 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)
10 lines
311 B
Bash
Executable File
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}"
|