Extract merge commit body for release notes instead of PR description #67
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release notes were using PR description instead of merge commit message body. Changed to extract merge commit extended description and combine with PR commit history.
Changes
resolve_prstep: Fetch merge commit viamerge_commit_shaand extract message body via GitHub API$merged.body(PR description)parse_commitstep: Added GitHub API call to retrieve merge commit body for PR eventsgit log -1 --pretty=format:"%b" HEAD(unreliable)github.event.pull_request.merge_commit_shawith API fallback to git logRelease notes format: Merge commit body (personalized notes) appears first, followed by separator and categorized commit history
Usage
Write personalized release notes in merge commit message body:
The extended description (lines after first) appears at top of release, followed by automatic commit categorization.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.