为什么我没有被列为合并我的 PR 的项目的贡献者?
Why am I not listed as a contributor to a project that merged my PR?
我在 GitHub 上将一个 PR 合并到一个开源项目的 master 分支。该项目不是一个分支,如果我在我的 PR 中编辑的主树中查看文件,我会被列为那里作为该文件的贡献者。
但是,出于某种原因,我没有出现在项目的 "contributors" 主页中。有谁知道为什么会这样?我已经查看了 this GitHub help page about contributions showing up on my own profile,但我的问题是关于显示在实际项目的 "contributors" 页面中。
作为参考,这里是有问题的 PR:https://github.com/octokit/octokit.rb/pull/780
在某些情况下,它可能是 squash 合并的 PR。
那么作者身份就完全属于合并PR的人了。 GitHub 似乎将您作为个人资料的贡献归功于您,但由于它不计入提交,因此更改可能不会使您成为贡献者。
When a pull request is merged and commits are squashed, only the user that merged the pull request and the user that opened the pull request receive contribution credit. No other contributors to the pull request will receive contribution credit. link
更新:只抓取"top" 100个投稿人,严格限制100个,其余的删掉。你只贡献了一个,所以你最终躲在被切割的部分。
确认您是否具有贡献者状态的最佳方法是在评论中使用最近实现的徽章功能。你好像有。
我在 GitHub 上将一个 PR 合并到一个开源项目的 master 分支。该项目不是一个分支,如果我在我的 PR 中编辑的主树中查看文件,我会被列为那里作为该文件的贡献者。
但是,出于某种原因,我没有出现在项目的 "contributors" 主页中。有谁知道为什么会这样?我已经查看了 this GitHub help page about contributions showing up on my own profile,但我的问题是关于显示在实际项目的 "contributors" 页面中。
作为参考,这里是有问题的 PR:https://github.com/octokit/octokit.rb/pull/780
在某些情况下,它可能是 squash 合并的 PR。
那么作者身份就完全属于合并PR的人了。 GitHub 似乎将您作为个人资料的贡献归功于您,但由于它不计入提交,因此更改可能不会使您成为贡献者。
When a pull request is merged and commits are squashed, only the user that merged the pull request and the user that opened the pull request receive contribution credit. No other contributors to the pull request will receive contribution credit. link
更新:只抓取"top" 100个投稿人,严格限制100个,其余的删掉。你只贡献了一个,所以你最终躲在被切割的部分。
确认您是否具有贡献者状态的最佳方法是在评论中使用最近实现的徽章功能。你好像有。