Note: Dependabot security and version updates are currently in private beta and subject to change. To request access to the beta release, contact your account management team.
Note: Your site administrator must set up Dependabot updates for your GitHub Enterprise Server instance before you can use this feature. For more information, see "Setting up Dependabot security and version updates on your enterprise."
You can enable Dependabot 安全更新 for any repository that uses Dependabot 警报 and the dependency graph. For more information, see "About Dependabot 安全更新."
You can disable Dependabot 安全更新 for an individual repository or for all repositories owned by your user account or organization. For more information, see "Managing Dependabot 安全更新 for your repositories" below.
GitHub automatically enables Dependabot 安全更新 for every repository that meets these prerequisites.
Note: You can manually enable Dependabot 安全更新, even if the repository doesn't meet some of the prerequisites below. For example, you can enable Dependabot 安全更新 on a fork, or for a package manager that isn't directly supported by following the instructions in "Managing Dependabot 安全更新 for your repositories."
|Automatic enablement prerequisite||More information|
|Repository is not a fork||"About forks"|
|Repository is not archived||"Archiving repositories"|
|Repository contains dependency manifest file from a package ecosystem that GitHub supports||"Supported package ecosystems"|
|Dependabot 安全更新 are not disabled for the repository||"Managing Dependabot 安全更新 for your repository"|
If security updates are not enabled for your repository and you don't know why, first try enabling them using the instructions given in the procedural sections below. If security updates are still not working, you can contact your site administrator.
You can enable or disable Dependabot 安全更新 for an individual repository (see below).
You can also enable or disable Dependabot 安全更新 for all repositories owned by your user account or organization. For more information, see "Managing security and analysis settings for your user account" or "Managing security and analysis settings for your organization."
Dependabot 安全更新 require specific repository settings. For more information, see "Supported repositories."
- 在 your GitHub Enterprise Server instance 上，导航到仓库的主页面。
- 在仓库名称下，单击 Settings（设置）。
- 在左侧边栏中，单击 Security & analysis（安全和分析）。
- Under "Configure security and analysis features", to the right of "Dependabot security updates", click Enable or Disable.