mapbox / mapbox/github-release-tools

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

未关闭
#3 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
16
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

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).

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位使用 merge_commit_sha 搜索 pull request 的 changelog-draft 代码,然后追踪相关提交是如何收集的。检查 GitHub pull request 数据以及涉及的合并策略。完成的标准是,非 squash 合并不再留下未关联的适用提交;如果项目有针对这一行为的测试,请添加或更新覆盖范围。

由索引模型根据 Issue 内容生成。

评估

技术栈
git, github, javascript
领域
release, tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。