Skip to main content

Управление защитой от push для пользователей

Вы можете контролировать способность GitHub блокировать ваши push-запросы, которые могут содержать секреты.

Кто может использовать эту функцию?

Защита от push для пользователей включена по умолчанию для публичных репозиториев.

  1. In the upper-right corner of any page on GitHub, click your profile picture, then click Settings.

  2. In the "Security" section of the sidebar, click Code security.

  3. Under "User", to the right of "Push protection for yourself", update your settings.

    Screenshot of the "User" section of the "Code security and analysis" settings page. A button labeled "Disable" is outlined in dark orange.