diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7d14fe6..1662960 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -159,4 +159,4 @@ jobs: - env: FETCH_BASE_REF: "true" - run: ./ci/conventional_commits.sh + run: ./git-hooks/validate-commit-range diff --git a/app/usage-rules.md b/app/usage-rules.md index 6a814e5..3f31ec9 100644 --- a/app/usage-rules.md +++ b/app/usage-rules.md @@ -14,7 +14,7 @@ formatting, static analysis, and tests) — run `mix setup` once per clone to activate both. - Enforced in CI across a whole PR's commit range by - `ci/conventional_commits.sh` (skips GitHub's own auto-generated + `git-hooks/validate-commit-range` (skips GitHub's own auto-generated update-branch merge commits). ## Dogfooding: use `lc`, not a Linear MCP server or skill diff --git a/ci/conventional_commits.sh b/ci/conventional_commits.sh deleted file mode 100755 index e9394f7..0000000 --- a/ci/conventional_commits.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash -# Compatibility wrapper — the implementation has moved to git-hooks/validate-commit-range. -script_dir=$(cd "$(dirname "$0")" && pwd) -exec "$script_dir/../git-hooks/validate-commit-range" "$@" diff --git a/ci/validate_conventional_commit.sh b/ci/validate_conventional_commit.sh deleted file mode 100755 index 158528b..0000000 --- a/ci/validate_conventional_commit.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash -# Compatibility wrapper — the implementation has moved to git-hooks/validate-conventional-subject. -script_dir=$(cd "$(dirname "$0")" && pwd) -exec "$script_dir/../git-hooks/validate-conventional-subject" "$@"