How do I auto-enable GitHub dependabot alerts? Can it be enabled via API?
Asked
Active
Viewed 99 times
-1
-
For security updates, or version updates? – Benjamin W. Mar 06 '23 at 02:00
-
@BenjaminW. Just dependabot alerts. – mbt Mar 06 '23 at 02:09
1 Answers
0
- For repositories of a user: alerts and security updates can be enabled for all repositories at https://github.com/settings/security_analysis
- For repositories in an organization: the settings live at https://github.com/organizations/{org}/settings/security_analysis, where
{org}
is a placeholder for the organization
There is a REST API for dependabot alerts, but it doesn't let you manage if alerts or updates are enabled.

Benjamin W.
- 46,058
- 19
- 106
- 116