关于安全性和分析设置的管理
GitHub can help secure your repositories. This topic tells you how you can manage the security and analysis features for all your existing or new repositories.
You can still manage the security and analysis features for individual repositories. For more information, see "Managing security and analysis settings for your repository."
注:您不能对公共仓库禁用默认启用的一些安全和分析功能。
If you enable security and analysis features, GitHub performs read-only analysis on your repository. 更多信息请参阅“关于 GitHub 对数据的使用”。
For an overview of repository-level security, see "About securing your repository."
启用或禁用现有仓库的功能
- 在任何页面的右上角,单击您的个人资料照片,然后单击 Settings(设置)。

- 在左侧边栏中,单击 Security & analysis(安全和分析)。

- 在“Configure security and analysis features(配置安全性和分析功能)”下,单击功能右侧的 Disable all(全部禁用)或 Enable all(全部启用)。

- (可选)为组织中的新仓库默认启用该功能。

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

对新仓库启用或禁用功能
- 在任何页面的右上角,单击您的个人资料照片,然后单击 Settings(设置)。

- 在左侧边栏中,单击 Security & analysis(安全和分析)。

- 在功能右侧的“Configure security and analysis features(配置安全和分析功能)”下,默认对组织中的新仓库启用或禁用该功能。
