Set the Actions cache storage limit
One step with GitHub Actions. We can help you get access.
Get something done
Set the Actions cache storage limit
with GitHub Actions
Works with AI assistants
Use GitHub Actions: its Github Actions API lets you set the Actions cache storage limit in a single step (PUT /repos/{owner}/{repo}/actions/cache/storage-limit). GitHub Actions also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I cap the total size of Actions caches in a repo?
- Can I set a gigabyte limit on cached data?
Say it to your AI assistant
- Set the Actions cache storage limit for {owner}/{repo} to {max_cache_size_gb} GB.
- Cap caches in {owner}/{repo} at {max_cache_size_gb} gigabytes.
For your developer
PUT /repos/{owner}/{repo}/actions/cache/storage-limit in Github Actions API. Full spec on APIs.io.