baiyao105/Action-Cache Cleaner

Cache cleaner for GitHub Actions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Oct 18, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: baiyao105/gh-cache-cleaner@1813cc41439b0619c1a8600db5a51c4c98d13be1 # v1.0.3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
tokenGitHub tokenyes${{ github.token }}
delete_allDelete all caches in the repository (overrides other options)nofalse
branchesBranch names to delete caches from (supports multiple, separated by comma or newline)no""
max_delete_countMaximum number of caches to delete (default -1 deletes all)no-1
exclude_branchesBranches to exclude (used with delete_all)no[]
cache_key_patternCache key matching pattern (supports wildcard *)no*
namedescription
deleted_countNumber of caches actually deleted
total_size_savedTotal cache size freed (in bytes)
deleted_cache_idsList of deleted cache IDs (JSON format)