Secret scanning's push protection feature is now generally available for all free public repositories on GitHub.com.
You can enable push protection for any public repository on GitHub.com from your repository's "Code security and analysis" settings in the UI or REST API. If you're an organization or enterprise owner, you can also also bulk-enable secret scanning.
For your repositories that are not a part of an organization, you can bulk-enable secret scanning and push protection in your personal "Code security and analysis" settings.
- Read our blog post to learn more about push protection's general availability
- Learn more about protecting pushes in our documentation and share your feedback in our community discussion