Skip to content

fix: use merge commit for PR number detection#40

Merged
jxom merged 2 commits intomasterfrom
fix/merge-commit-pr-detection
Feb 4, 2026
Merged

fix: use merge commit for PR number detection#40
jxom merged 2 commits intomasterfrom
fix/merge-commit-pr-detection

Conversation

@jxom
Copy link
Member

@jxom jxom commented Feb 4, 2026

When determining which PR introduced a changelog file, look for the merge commit first (which contains the PR number like Merge pull request #37), then fall back to the original commit that added the file.

This fixes incorrect PR attribution when a changelog file is created in a feature branch that gets merged.

@vercel
Copy link

vercel bot commented Feb 4, 2026

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

Project Deployment Actions Updated (UTC)
changelogs-rs Ready Ready Preview, Comment Feb 4, 2026 2:10am

Request Review

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

✅ Changelog found on PR.

Edit changelog

@jxom jxom merged commit 0f557bf into master Feb 4, 2026
7 checks passed
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