-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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: 50Acceptance Criteria
- GitHub Action published to Marketplace
- Runs on PR events, posts comment with metrics
- Configurable thresholds for pass/fail
- Delta comparison (PR vs base branch)
- README badge support
Priority
Medium-term — High adoption potential but requires stable CLI first.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request