mapbox / mapbox/github-release-tools
Add support to changelog-draft for non-squash merge strategies
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
We're currently looking up a commit's associated PR by searching for a PR with a matching `merge_commit_sha` field. This works well for squash-merged PRs, but in other cases, it leaves us with a bunch of unassociated commits (i.e. the ones that aren't the merge commit or the head of the rebased-and-ff-merged branch).
Contributor guide
Research direction
Start by locating the changelog-draft code that searches for pull requests using merge_commit_sha, then trace how associated commits are collected. Review the GitHub pull request data and merge strategies involved. Done means non-squash merges no longer leave applicable commits unassociated; add or update coverage if the project has tests for this behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, github, javascript
- Domain
- release, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100