G
GithubApi
Arcade Native

GetGithubActionsCacheUsage

GithubApi.GetGithubActionsCacheUsage

Arcade Native Built and maintained by Arcade with full support
Supported by Arcade

Description

Fetch GitHub Actions cache usage for a repository.

Use this tool to get the current cache usage for GitHub Actions in a specific repository. Cache data is updated approximately every 5 minutes. Requires read access to the repository and appropriate permissions for private repositories.

Input Parameters

{
  "parameters": [
    {
      "name": "repository_name",
      "required": true,
      "inferrable": true,
      "description": "The name of the GitHub repository. It is not case sensitive.",
      "value_schema": {
        "val_type": "string"
      }
    },
    {
      "name": "repository_owner",
      "required": true,
      "inferrable": true,
      "description": "The account owner of the repository. Case insensitive name.",
      "value_schema": {
        "val_type": "string"
      }
    }
  ]
}

Output

{
  "description": "Response from the API endpoint 'actions/get-actions-cache-usage'.",
  "value_schema": {
    "val_type": "json"
  },
  "available_modes": [
    "value",
    "error"
  ]
}