Skip to content

Enrich release changelog with PR descriptions and diff stats#120

Merged
jaymantri merged 1 commit intomainfrom
fix-automatic-release-notes
Mar 5, 2026
Merged

Enrich release changelog with PR descriptions and diff stats#120
jaymantri merged 1 commit intomainfrom
fix-automatic-release-notes

Conversation

@coreymartin
Copy link
Contributor

Summary

  • Fetch PR bodies via gh pr view for all merged PRs since last tag — gives the AI the actual author-written summaries instead of just merge commit titles
  • Pass full per-file --stat output instead of just the summary totals line
  • Update the AI prompt to use PR descriptions as primary source of truth

Fixes the issue where the v0.14.0 release notes only listed 4 generic bullet points despite PR #117 containing a DatePicker, 6 new chart types, Drawer improvements, Storybook overhaul, and token changes.

Test plan

  • Push triggers the pull_request path validation (workflow runs on PRs that modify these files)
  • Verify the AI step receives PR_DETAILS and DIFFSTAT env vars in the logs
  • Run workflow_dispatch to validate end-to-end

🤖 Generated with Claude Code

The AI changelog generator was only receiving merge commit subject lines,
causing it to miss significant changes. Now fetches PR bodies via GitHub
API and passes full --stat output for better context.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
origin-storybook Ready Ready Preview, Comment Mar 5, 2026 7:43am

Request Review

@jaymantri jaymantri merged commit 24fd88b into main Mar 5, 2026
7 checks passed
@jaymantri jaymantri deleted the fix-automatic-release-notes branch March 5, 2026 18:02
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.

2 participants