Skip to main content

此版本的 GitHub Enterprise Server 将于以下日期停止服务 2026-04-09. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

关于推送保护的委派绕过

在通过委托绕过机制来解除对受信任主体的阻止时,保持机密性。

谁可以使用此功能?

推送保护的委派绕过适用于以下存储库类型:

注意

Delegated bypass for push protection is currently in beta and subject to change.

About delegated bypass for push protection

With delegated bypass for push protection, you can:

  • Grant bypass permissions to select individuals, roles, and teams, allowing them to push commits that are initially blocked by push protection.
  • Introduce a review cycle for bypass requests from all other contributors. Requests expire after 7 days.

Users with bypass privileges

The following types of users can always bypass push protection:

  • Organization owners
  • Security managers
  • Users in teams, default roles, or custom roles that have been added to the bypass list

Next steps

To start managing bypass privileges, see Enabling delegated bypass for push protection.