actionsGetActionsCacheRetentionLimitForRepository
Get GitHub Actions cache retention limit for a repository
GET /repos/{owner}/{repo}/actions/cache/retention-limit HTTP/1.1Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
}
}Response Schema
{
"title": "Actions cache retention limit for a repository",
"description": "GitHub Actions cache retention policy for a repository.",
"type": "object",
"properties": {
"max_cache_retention_days": {
"description": "The maximum number of days to keep caches in this repository.",
"type": "integer",
"example": 14
}
}
}