关于私有仓库的数据使用
When you enable data use for your private repository, you'll be able to access the dependency graph, where you can track your repository's dependencies and receive Dependabot alerts when GitHub detects vulnerable dependencies. 更多信息请参阅“关于易受攻击的依赖项的警报”。
启用或禁用数据使用功能
注:您不能对公共仓库禁用默认启用的一些安全和分析功能。
如果启用安全和分析功能, GitHub 将对您的仓库进行只读分析。 更多信息请参阅“关于 GitHub 对数据的使用”。
- 在 GitHub 上,导航到仓库的主页面。
- 在仓库名称下,单击 Settings(设置)。
- 在左侧边栏中,单击 Security & analysis(安全和分析)。
- 在“Configure security and analysis features(配置安全性和分析功能)”下,单击功能右侧的 Disable(禁用)或 Enable(启用)。