Repository navigation
feat(docs): add AI commits badge - #1046
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block approval of the AI commit attribution changes.
No open issues 🎉
What changed in this PR
Adds AI commit attribution to the dotfiles README, with generated statistics and images hosted through the existing documentation site.
Changes:
- Adds a compact AI commits badge and an attribution card to the README.
- Generates SVG and JSON assets from commit authors and co-author trailers, excluding merges and recognized bot automation.
- Extends the Pages workflow to generate the assets and refresh them daily. Asset URLs become available after merge and deployment.
| File | Description |
|---|---|
README.md |
Displays the badge and attribution card, and explains measurement limits. |
.github/workflows/docs.yml |
Generates badge assets during documentation builds and enables daily publication. |
.github/scripts/ai-commits-badge.py |
Classifies commit attribution and renders badges, cards, and JSON statistics. |
Review effort: Balanced
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Summary
DevSecNinja/.github/actions/ai-commits-badgeaction pinned to v3.7.0; the local copy of the generator is removed.Example
Snapshot of the shared action's generated badge and README card from local validation (November 15, 2026). The published SVGs will reflect the latest history after deployment; the card adapts to light/dark mode.
Local validation
mkdocs build --strict, actionlint, targeted workflow and repository validation tests, a Chezmoi dry-run, and Lefthook pre-commit checks.unattributed.misewas unavailable during the original validation; missing validation tools and MkDocs dependencies were supplied locally for the checks.Summary by CodeRabbit
main.