chore(ci): add commitlint workflow + config#10
Conversation
Adds a CI workflow that lints commit messages on every PR using wagoid/commitlint-github-action with @commitlint/config-conventional rules. Workflow-only approach (no devDependency or husky hook changes — zero impact on local dev environment). Allowed types: feat, fix, docs, style, refactor, perf, test, chore, build, ci, revert. Header max length 100 chars (warning only). Plan: .claude-plans/help-me-enable-all-zany-gosling.md (Track C). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds commit-message linting to CI so PRs are checked against Conventional Commits rules without impacting local developer environments.
Changes:
- Introduces a GitHub Actions workflow to run commitlint on PR commits.
- Adds a repo-level
.commitlintrc.jsonextending@commitlint/config-conventionaland customizing allowed types / header length.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/commitlint.yml |
New CI workflow to lint commit messages on pull requests. |
.commitlintrc.json |
Commitlint ruleset (conventional config + repo-specific rule overrides). |
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Lint commits in PR | ||
| uses: wagoid/commitlint-github-action@v6 |
There was a problem hiding this comment.
Already addressed in master — the canonical commitlint.yml on master already SHA-pins both actions (actions/checkout@de0fac2e v6.0.2 and wagoid/commitlint-github-action@b948419d v6.2.1, landed via PR #3). This PR was superseded by #3/#6/#7 and is being closed.
Fleet-driver classification: trivial (already-addressed in master, PR superseded). Acknowledged automatically by /jc-coding-fleet-driver v2.x.
|
Closing — this PR was opened on 2026-04-25 and is now obsolete: master already has the canonical This PR's branch Per Phase 2.5 fleet-driver doctrine: 'stale PR superseded by main' — close, no forward-fix needed. Acknowledged automatically by |
Adds a CI workflow that lints commit messages on every PR using
wagoid/commitlint-github-action with @commitlint/config-conventional
rules. Workflow-only approach (no devDependency or husky hook
changes — zero impact on local dev environment).
Allowed types: feat, fix, docs, style, refactor, perf, test, chore,
build, ci, revert. Header max length 100 chars (warning only).
Plan: .claude-plans/help-me-enable-all-zany-gosling.md (Track C).
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com