只有拉取请求作者才可授权上游仓库维护员或对上游仓库具有推送权限的人员,允许他们提交到用户拥有的复刻中其拉取请求的比较分支。 要详细了解上游仓库,请参阅“关于复刻”。
拉取请求作者可在最初从用户拥有的复刻创建拉取请求时或在创建拉取请求后授予这些权限。 更多信息请参阅“从复刻创建拉取请求”。
您可以在第一次从复刻创建拉取请求时设置提交权限。 更多信息请参阅“从复刻创建拉取请求”。 此外,您也可以修改现有拉取请求,让仓库维护员提交到分支。
在现有拉取请求上启用仓库维护员权限
-
在 GitHub 上,导航到拉取请求上游仓库的主页面。
-
在上游仓库名称下,单击 Pull requests(拉取请求)。

-
在拉取请求列表中,导航到要允许在其中提交的拉取请求。
-
在用户拥有的复刻中,如果您不希望对上游仓库具有推送权限的任何人更改您的拉取请求,请取消选中 Allow edits from maintainers(允许维护员编辑)。
Warning: If your fork contains GitHub Actions workflows, the option is Allow edits and access to secrets by maintainers. Allowing edits on a fork's branch that contains GitHub Actions workflows also allows a maintainer to edit the forked repository's workflows, which can potentially reveal values of secrets and grant access to other branches.


Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
