Anyone with write permissions to a project board can link repositories owned by that organization or personal account to the project board. For more information, see "Project board permissions for an organization" or "Permission levels for user-owned project boards."
You can link up to twenty-five repositories to your organization or user-owned project board. Linking repositories makes it easier to add issues and pull requests from those repositories to your project board using Add cards or from the issue or pull requests sidebar. 您可以在卡中输入议题或拉取请求 URL,从任何未链接的仓库添加议题和拉取请求。 For more information, see "Adding issues and pull requests to a project board."
- Navigate to the project board where you want to link a repository.
- On the top-right side of the project board, click Menu.
- 单击 ,然后单击 Settings(设置)。
- 在左侧边栏中,单击 Linked repositories(链接的仓库)。
- 单击 Link a repository(链接仓库)。
- 搜索要链接的仓库。
- 单击 Link(链接)。 要取消链接,请单击 Unlink(取消链接)。
Note: In order to link a repository to your organization or user owned project board the repository needs to have issues enabled. 也就是说,仓库有一个“议题”选项卡(在复刻的仓库中默认禁用议题)。 有关如何对仓库启用或禁用议题的信息,请参阅“对仓库禁用议题”。