chore(ci): bootstrap CI + hooks
Some checks failed
CI / checks (push) Has been cancelled
CI / checks (pull_request) Has been cancelled

Squash-merge bootstrap-cicd into integration
This commit is contained in:
2025-09-10 21:48:32 +00:00
parent 575b33f744
commit 408db0d0cc
19 changed files with 671 additions and 0 deletions

10
scripts/commitlint-hook Executable file
View File

@@ -0,0 +1,10 @@
#!/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}"