如何判断拉取请求是否已授予维护者编辑拉取请求的能力?
How to tell if a pull request has given the maintainer the ability to edit the pull request?
拉取请求的发起者可能 give the maintainer the ability to edit the pull request。
对于任何给定的拉取请求,我们如何判断该能力是否已被授予? (最好是我想通过浏览器知道,但cli也可以)
为清楚起见
以下是我要解决的案例的具体情况:
- 我用一些代码创建了一个 repo
- 有人分叉它,进行了更改,进行了 PR
- 我想在合并他们的 PR 之前做一些调整
- 作为维护者,我may or may not have permission to edit the PR before merging
- 我如何知道我是否已被授予此权限?
更新
我已经在 github 支持下提交了工单,并将用我发现的任何内容更新问题。
作为最后的手段,我将尝试通过创建虚拟 github 帐户来解决问题,将两个相同的 PR 发送到两个相同的 repos(一个授予编辑权限,另一个没有),看看我是否能发现区别)。如果有人先这样做,请在下面回答。
来自github支持:
Unfortunately there isn't a filter to see which pull requests have allowed edits from maintainers.
Currently, the only way you will know if the pull request author has selected Allow Edits
from Maintainers is if you try to edit files from the pull request.
For example, if you select a pull request from the fork parent's repository, there will be Files Changed tab. See screenshot below - if you see the Edit file button greyed out, it means the user has not allowed edits from maintainers.
拉取请求的发起者可能 give the maintainer the ability to edit the pull request。
对于任何给定的拉取请求,我们如何判断该能力是否已被授予? (最好是我想通过浏览器知道,但cli也可以)
为清楚起见
以下是我要解决的案例的具体情况:
- 我用一些代码创建了一个 repo
- 有人分叉它,进行了更改,进行了 PR
- 我想在合并他们的 PR 之前做一些调整
- 作为维护者,我may or may not have permission to edit the PR before merging
- 我如何知道我是否已被授予此权限?
更新
我已经在 github 支持下提交了工单,并将用我发现的任何内容更新问题。
作为最后的手段,我将尝试通过创建虚拟 github 帐户来解决问题,将两个相同的 PR 发送到两个相同的 repos(一个授予编辑权限,另一个没有),看看我是否能发现区别)。如果有人先这样做,请在下面回答。
来自github支持:
Unfortunately there isn't a filter to see which pull requests have allowed edits from maintainers.
Currently, the only way you will know if the pull request author has selected
Allow Edits
from Maintainers is if you try to edit files from the pull request.For example, if you select a pull request from the fork parent's repository, there will be Files Changed tab. See screenshot below - if you see the Edit file button greyed out, it means the user has not allowed edits from maintainers.