mapbox / mapbox/github-release-tools

Add support to changelog-draft for non-squash merge strategies

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.