Skip to content

Replace manual disk cleanup with quick-cleanup#537

Closed
sebrandon1 wants to merge 1 commit intometallb:mainfrom
sebrandon1:use-quick-cleanup
Closed

Replace manual disk cleanup with quick-cleanup#537
sebrandon1 wants to merge 1 commit intometallb:mainfrom
sebrandon1:use-quick-cleanup

Conversation

@sebrandon1
Copy link

@sebrandon1 sebrandon1 commented Feb 18, 2026

Summary

Replace manual disk cleanup scripts with the shared palmsoftware/quick-cleanup GitHub Action.

This consolidates manual rm -rf commands and Docker pruning into a single maintained action that handles cleanup of Android SDK, .NET, Haskell, Boost, Swift, and other large preinstalled packages. It also provides automatic Docker storage relocation to the larger /mnt partition — a feature none of the manual scripts currently implement.

Already in use

quick-cleanup is already adopted in production workflows across multiple projects:

Tracking

Related PRs

Changes

  • Updated .github/workflows/ci.yaml — replaced "Free Disk Space" block (11 lines of shell commands)

Benefits

  • Less boilerplate — replaces 11 lines of manual rm -rf and apt-get clean commands
  • Docker relocation — automatically moves Docker storage to /mnt (larger partition)
  • Adaptive cleanup — adjusts intensity based on available space
  • Disk reporting — built-in before/after df -h output
  • Maintained upstream — cleanup targets updated as runner images change
  • Apache 2.0 licensed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant