Skip to main content

Managing security and analysis features

You can control features that secure and analyze the code in your projects on GitHub.

注意

This topic tells you how you can manage the security and analysis features for all your existing or new repositories. For information on managing these settings for individual repositories, see 管理存储库的安全和分析设置.

Enabling or disabling features for existing repositories

  1. 在 GitHub 任意页面的右上角,单击个人资料照片,然后单击 “设置”****。

  2. 在边栏的“Security”部分中,单击“ Advanced Security”****。

  3. Under "Advanced Security", to the right of the feature, click Disable all or Enable all.

  4. Optionally, enable the feature by default for new repositories that you own.

  5. Click Disable FEATURE or Enable FEATURE to disable or enable the feature for all the repositories you own.

Enabling or disabling features for new repositories

  1. 在 GitHub 任意页面的右上角,单击个人资料照片,然后单击 “设置”****。
  2. 在边栏的“Security”部分中,单击“ Advanced Security”****。
  3. Under "Advanced Security", to the right of the feature, enable or disable the feature by default for new repositories that you own.

Next steps