Skip to content

feat(ci): add AI Contribution Report workflow#61

Open
satish-m wants to merge 1 commit into
mainfrom
fix/ai-contribution-report
Open

feat(ci): add AI Contribution Report workflow#61
satish-m wants to merge 1 commit into
mainfrom
fix/ai-contribution-report

Conversation

@satish-m

Copy link
Copy Markdown
Collaborator

Adds a GitHub Actions workflow that automatically measures AI tool involvement across the repository's full commit history on every merge to main.

What it does

  • Triggers on every push to main
  • Scans all commit messages for Co-Authored-By: trailers stamped by AI coding tools (Cursor, Claude Code, GitHub Copilot)
  • Counts commits attributed to each tool vs. purely human-authored
  • Renders a markdown summary table directly in the GitHub Actions job summary (visible in the Actions tab after each merge)

Signal measured

The Co-Authored-By: trailer is written automatically by:

  • CursorCo-authored-by: Cursor <cursoragent@cursor.com>
  • Claude CodeCo-Authored-By: Claude <noreply@anthropic.com>
  • GitHub CopilotCo-authored-by: GitHub Copilot <...>

Commits without any such trailer are counted as human-only. Note that commits may still have had AI assistance without a trailer (e.g. code pasted from a chat interface), so this is a lower-bound estimate.

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@satish-m

Copy link
Copy Markdown
Collaborator Author

I have read the CLA Document and I hereby sign the CLA

Adds a GitHub Actions workflow that automatically measures AI tool
involvement across the repository's full commit history on every merge
to main.

## What it does

- Triggers on every push to `main`
- Scans all commit messages for `Co-Authored-By:` trailers stamped by
  AI coding tools (Cursor, Claude Code, GitHub Copilot)
- Counts commits attributed to each tool vs. purely human-authored
- Renders a markdown summary table directly in the GitHub Actions job
  summary (visible in the Actions tab after each merge)

## Signal measured

The `Co-Authored-By:` trailer is written automatically by:
- **Cursor** → `Co-authored-by: Cursor <cursoragent@cursor.com>`
- **Claude Code** → `Co-Authored-By: Claude <noreply@anthropic.com>`
- **GitHub Copilot** → `Co-authored-by: GitHub Copilot <...>`

Commits without any such trailer are counted as human-only. Note that
commits may still have had AI assistance without a trailer (e.g. code
pasted from a chat interface), so this is a lower-bound estimate.

Co-Authored-By: Claude <noreply@anthropic.com>
@satish-m satish-m force-pushed the fix/ai-contribution-report branch from 94379f8 to 21fb473 Compare June 30, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant