GitHub Actions · Arazzo Workflow
GitHub Actions Prune Repository Caches
Version 1.0.0
Read cache usage, list the largest caches, and delete the largest one by id to reclaim space.
Provider
Workflows
prune-repo-caches
Find and delete the largest Actions cache in a repository.
Reports cache usage, lists caches ordered by size descending, and deletes the largest cache by id when one exists.
1
getCacheUsage
getActionsCacheUsage
Read the repository's aggregate Actions cache usage to report how much space is currently consumed.
2
listCaches
listActionsCaches
List caches sorted by size in descending order so the largest cache is the first entry. Branch to the end when there are no caches.
3
deleteLargestCache
deleteActionsCacheById
Delete the largest cache by its id. Returns 204 with no body on success.