hugoalh/Disk Space Optimizer

Optimize the disk space for the GitHub hosted GitHub Actions runner.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Aug 28, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: hugoalh/disk-space-optimizer-ghaction@473a0f269fe1dd4642c48518a323b231680428aa # v0.8.1

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

namedescriptionrequireddefault
operate_async{Boolean} Whether to operate in asynchronously, possibly reduce the operation duration.noFalse
operate_sudo{Boolean} Whether to execute this action in sudo mode in order to able operate protected resources on the non-Windows environment.noFalse
general_include{RegEx[]} Remove items which listed in the list.no""
general_exclude{RegEx[]} Exclude remove items which listed in the list.no""
docker_include{RegEx[]} Remove Docker images.no""
docker_exclude{RegEx[]} Exclude remove Docker images.no""
docker_prune{Boolean} Whether to prune Docker all of the dangling images.noFalse
docker_clean{Boolean} Whether to remove Docker cache.noFalse
apt_enable{Boolean} Whether to optimize via APT.noFalse
apt_prune{Boolean} Whether to prune APT package.noFalse
apt_clean{Boolean} Whether to remove APT cache.noFalse
chocolatey_enable{Boolean} Whether to optimize via Chocolatey.noFalse
homebrew_enable{Boolean} Whether to optimize via Homebrew.noFalse
homebrew_prune{Boolean} Whether to prune Homebrew package.noFalse
homebrew_clean{Boolean} Whether to remove Homebrew cache.noFalse
npm_enable{Boolean} Whether to optimize via NPM.noFalse
npm_prune{Boolean} Whether to prune NPM package.noFalse
npm_clean{Boolean} Whether to remove NPM cache.noFalse
pipx_enable{Boolean} Whether to optimize via Pipx.noFalse
wmic_enable{Boolean} Whether to optimize via WMIC.noFalse
fs_enable{Boolean} Whether to optimize via file system.noFalse
os_swap{Boolean} Whether to remove system page/swap file.noFalse

no outputs