Warnung
Push protection exemptions are designed for trusted automation that needs to push many commits with minimal friction. Exemptions may lead to leaked secrets, and should be granted with caution.
Gewähren von Ausnahmen für Ihr Repository
Hinweis
If an organization or enterprise owner configures delegated bypass at the organization or enterprise level, the repository-level settings are disabled.
-
Navigieren Sie auf GitHub zur Hauptseite des Repositorys.
-
Klicke unter dem Repositorynamen auf Settings. Wenn die Registerkarte „Einstellungen“ nicht angezeigt wird, wähle im Dropdownmenü die Option Einstellungen aus.

-
Klicke im Abschnitt „Security“ der Randleiste auf Advanced Security.
-
Under "Secret Protection," ensure that push protection is enabled for the repository.
-
Under "Push protection," to the right of "Who can bypass push protection for secret scanning," select the dropdown menu, then click Specific roles or teams.
-
Under "Bypass list," click Add role or team.
-
In the dialog box, select the roles and teams that you want to add to the bypass list, then click Add selected.
Hinweis
You can't add secret teams to the bypass list.
-
To fully exempt the actors from push protection, to the right of the actors' details, select , then click Exempt.
Gewähren von Ausnahmen für Ihre Organisation
-
Navigieren Sie auf GitHub zur Hauptseite der Organisation.
-
Klicke unter dem Organisationsnamen auf Settings. Wenn die Registerkarte „Einstellungen“ nicht angezeigt wird, wähle im Dropdownmenü die Option Einstellungen aus.

-
Im Abschnitt "Sicherheit" der Randleiste wählen Sie das Advanced Security Dropdown-Menü aus und klicken dann auf Repositories.
-
Erstellen Sie eine neue benutzerdefinierte Sicherheitskonfiguration, oder bearbeiten Sie eine vorhandene. Weitere Informationen findest du unter Erstellen einer benutzerdefinierten Sicherheitskonfiguration.
-
When defining the custom security configuration, under "Secret scanning," ensure that "Push protection" is set to Enabled.
-
Under "Push protection," to the right of "Bypass privileges," select the dropdown menu, then click Specific actors.
-
Select the Select actors dropdown menu, then choose the actors you want to add to the bypass list.
Hinweis
- Sie können der Umgehungsliste keine geheimen Teams hinzufügen.
-
To fully exempt the actors from push protection, to the right of the actors' details, select , then click Exempt.
-
Klicke auf Konfiguration speichern.
-
Wenden Sie die Sicherheitskonfiguration auf Repositorys in Ihrer Organisation an. Siehe Anwenden einer benutzerdefinierten Sicherheitskonfiguration.
Gewähren von Ausnahmen für Ihr Unternehmen
-
Navigieren Sie zu Ihrem Unternehmen. Beispielsweise auf der Seite Unternehmen in GitHub.com.
-
Klicke oben auf der Seite auf Settings.
-
Klicke auf der linken Randleiste auf Advanced Security.
-
Im Abschnitt "Sicherheit" der Randleiste wählen Sie das Advanced Security Dropdown-Menü aus und klicken dann auf Repositories.
-
Erstellen Sie eine neue benutzerdefinierte Sicherheitskonfiguration, oder bearbeiten Sie eine vorhandene. Weitere Informationen findest du unter Erstellung einer angepassten Sicherheitskonfiguration für dein Unternehmen.
-
Under Secret scanning, ensure Push protection is enabled.
-
Under "Push protection," to the right of "Bypass privileges," select the dropdown menu, then click Specific actors.
Hinweis
You can't add secret teams to the bypass list.
-
Select the Select actors dropdown menu, then choose the actors you want to add to the bypass list.
-
To fully exempt the actors from push protection, to the right of the actors' details, select , then click Exempt.
-
Klicke auf Konfiguration speichern.
-
Wenden Sie die Sicherheitskonfiguration auf Organisationen und Repositorys in Ihrem Unternehmen an. Siehe Anwenden einer benutzerdefinierten Sicherheitskonfiguration auf dein Unternehmen.