Skip to main content

Enterprise Server 3.15 目前作为候选发布提供。

Finding and fixing configuration attachment failures

You can identify any repositories where the security configuration could not be attached, and follow guidance to remediate the problem.

谁可以使用此功能?

具有管理员角色的组织所有者、安全管理员和组织成员

Finding and remediating attachment failures

When you apply a configuration to a group of repositories, you may see a banner reporting that there was an attachment failure for some repositories. This happens when there is a conflict between the existing repository settings and the configuration that you applied.

When an attachment failure happens:

  • Only some of the settings in the security configuration are applied to affected repositories.
  • Any changes you later make to the security configuration will not be inherited by the affected repositories.

On the security configuration settings page, under "Apply configurations", you will see a banner advising how many repositories in your organization have an attachment failure, and an overview of the reason(s) for the failure.

Click the link in the banner display, or alternatively, filter the list of repositories by config-status:failed, to see the list of affected repositories and to source additional guidance on how to remediate the attachment failure for a specific repository.

  1. 在 GitHub 的右上角,选择个人资料照片,然后单击“你的组织”。

  2. 在组织名称下,单击 “设置”****。 如果看不到“设置”选项卡,请选择“”下拉菜单,然后单击“设置”********。

    组织配置文件中选项卡的屏幕截图。 “设置”选项卡以深橙色标出。

  3. 在边栏的“安全性”部分中,选择“代码安全”下拉菜单,然后单击“配置”。

  4. In the "Apply configurations" section, filter by config-status:failed.

  5. From the results list, for the repository you're interested in, click Failed REASON.

  6. In the dialog box, review the information and follow the remediation guidance.

Further reading