Check if Dependabot security updates are enabled for a repository
GET
/repos/{owner}/{repo}/automated-security-fixes https://api.github.com
Shows whether Dependabot security updates are enabled, disabled or paused for a repository. The authenticated user must have admin read access to the repository. For more information, see "Configuring Dependabot security updates".
Parameters
path Path Parameters
| Name | Type |
|---|---|
owner
required
The account owner of the repository. The name is not case sensitive. | string |
repo
required
The name of the repository without the | string |
Responses
200 application/json
Response if Dependabot is enabled
interface CheckAutomatedSecurityFixes {
enabled: boolean;
paused: boolean;
}
enabled: boolean;
paused: boolean;
}
Client Errors
404
Not Found if Dependabot is not enabled for the repository
unknown