Skip to main content

关于推送保护的委派绕过

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

谁可以使用此功能?

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

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.

Delegated bypass applies to files created, edited, and uploaded on GitHub.

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
  • Users who are assigned (either directly or via a team) a custom role with the "review and manage secret scanning bypass requests" fine-grained permission

Next steps

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