hugoalh/Disk Space Optimizer
Optimize the disk space for the GitHub hosted GitHub Actions runner.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Aug 28, 2025
- License
- None
Pinned Snippet
uses: hugoalh/disk-space-optimizer-ghaction@473a0f269fe1dd4642c48518a323b231680428aa # v0.8.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| operate_async | {Boolean} Whether to operate in asynchronously, possibly reduce the operation duration. | no | False |
| operate_sudo | {Boolean} Whether to execute this action in sudo mode in order to able operate protected resources on the non-Windows environment. | no | False |
| 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. | no | False |
| docker_clean | {Boolean} Whether to remove Docker cache. | no | False |
| apt_enable | {Boolean} Whether to optimize via APT. | no | False |
| apt_prune | {Boolean} Whether to prune APT package. | no | False |
| apt_clean | {Boolean} Whether to remove APT cache. | no | False |
| chocolatey_enable | {Boolean} Whether to optimize via Chocolatey. | no | False |
| homebrew_enable | {Boolean} Whether to optimize via Homebrew. | no | False |
| homebrew_prune | {Boolean} Whether to prune Homebrew package. | no | False |
| homebrew_clean | {Boolean} Whether to remove Homebrew cache. | no | False |
| npm_enable | {Boolean} Whether to optimize via NPM. | no | False |
| npm_prune | {Boolean} Whether to prune NPM package. | no | False |
| npm_clean | {Boolean} Whether to remove NPM cache. | no | False |
| pipx_enable | {Boolean} Whether to optimize via Pipx. | no | False |
| wmic_enable | {Boolean} Whether to optimize via WMIC. | no | False |
| fs_enable | {Boolean} Whether to optimize via file system. | no | False |
| os_swap | {Boolean} Whether to remove system page/swap file. | no | False |
Outputs
no outputs