Skip to content

Check if Dependabot security updates are enabled for a repository

GET
/repos/{owner}/{repo}/automated-security-fixes

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”.

API method documentation

owner
required
string

The account owner of the repository. The name is not case sensitive.

repo
required
string

The name of the repository without the .git extension. The name is not case sensitive.

Response if Dependabot is enabled

Media type application/json
Check Dependabot security updates

Check Dependabot security updates

object
enabled
required

Whether Dependabot security updates are enabled for the repository.

boolean
paused
required

Whether Dependabot security updates are paused for the repository.

boolean
Examples
Example default
{
"enabled": true,
"paused": false
}

Not Found if Dependabot is not enabled for the repository