Push protection for repositories and organizations - GitHub Enterprise Cloud Docs
By A Mystery Man Writer
![](https://docs.github.com/assets/cb-20429/mw-1440/images/help/repository/secret-scanning-custom-pattern-enable-push-protection.webp)
With push protection for repositories and organizations, secret scanning blocks contributors from pushing secrets to a repository and generates an alert whenever a contributor bypasses the block.
![](https://i.ytimg.com/vi/ptH6RWG9RR8/maxresdefault.jpg)
More API Calls, More Problems: The State of API Security in 2024
![](https://files.scmagazine.com/wp-content/uploads/2023/05/John_Kinsella-1.jpg)
SAML & Secrets, Serializing AI Models, OWASP ISTG, More Memory
![](https://pbs.twimg.com/media/GGtFWRhbUAALY5v.jpg)
umihico101 (@umihico101) / X
umihico101 (@umihico101) / X
![](https://files.scmagazine.com/wp-content/uploads/2024/03/ESW_352_seg_2_48d62772-313c-42d7-8e2e-113f2de3d537.jpg)
The Simple Mistakes and Complex Seeds of a Vulnerability
![](https://docs.github.com/assets/cb-20429/images/help/repository/secret-scanning-custom-pattern-enable-push-protection.png)
Push protection for repositories and organizations - GitHub
umihico101 (@umihico101) / X
![](https://i.ytimg.com/vi/9U7OjEpq06M/maxresdefault.jpg)
SAML & Secrets, Serializing AI Models, OWASP ISTG, More Memory
![](https://docs.github.com/assets/cb-39220/mw-1440/images/enterprise/security/secret-scanning-enable-push-protection-enterprise.webp)
Push protection for repositories and organizations - GitHub