Skip to main content

Linking a repository to a project board

You can link a repository to your organization's or personal account's project board.

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

  1. Navigate to the project board where you want to link a repository.
  2. On the top-right side of the project board, click Menu.
  3. 单击 ,然后单击 Settings(设置)项目板侧边栏的下拉菜单中的设置选项
  4. 在左侧边栏中,单击 Linked repositories(链接的仓库)左侧边栏中链接的仓库菜单选项
  5. 单击 Link a repository(链接仓库)链接的仓库选项卡中的链接仓库按钮
  6. 搜索要链接的仓库。 链接仓库窗口中的搜索字段
  7. 单击 Link(链接)。 要取消链接,请单击 Unlink(取消链接)链接按钮

Note: In order to link a repository to your organization or user owned project board the repository needs to have issues enabled. 也就是说,仓库有一个“议题”选项卡(在复刻的仓库中默认禁用议题)。 有关如何对仓库启用或禁用议题的信息,请参阅“对仓库禁用议题”。

延伸阅读