Summary
Publish a GitHub Action that runs codebase-intelligence as a CI check on PRs — "Architecture check passed/failed" as a PR status check.
Motivation
- dependency-cruiser's CI integration is a major adoption driver
- "Architecture check failed" in PR checks = automatic enforcement
- GitHub Actions is the simplest distribution channel for CI tools
- Repomix has GitHub Actions integration; we should too
Features
- PR check: Run on pull_request events, report pass/fail
- Metrics delta: Compare PR branch metrics vs base branch
- Threshold enforcement: Fail if coupling > X, blast radius > Y
- Comment summary: Post metrics summary as PR comment
- Badge: Dynamic badge for README (architectural health score)
Example Workflow
- uses: bntvllnt/codebase-intelligence-action@v1
with:
path: ./src
fail-on:
coupling-increase: true
new-dead-exports: true
blast-radius-threshold: 50
Acceptance Criteria
Priority
Medium-term — High adoption potential but requires stable CLI first.
Summary
Publish a GitHub Action that runs codebase-intelligence as a CI check on PRs — "Architecture check passed/failed" as a PR status check.
Motivation
Features
Example Workflow
Acceptance Criteria
Priority
Medium-term — High adoption potential but requires stable CLI first.