-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Lucas edited this page Mar 6, 2026
·
21 revisions
gh-actions-cleanup is a macOS terminal CLI for shutting down and cleaning up GitHub Actions usage across repositories.
- selects the GitHub host and authenticated account to use
- selects the target repository
- disables GitHub Actions workflows
- deletes workflow runs
- deletes Actions artifacts
- deletes Actions caches
From the project folder:
chmod +x gh-actions-cleanup install-gh-actions-cleanup.sh
./install-gh-actions-cleanup.sh
gh-actions-cleanupFull cleanup:
gh-actions-cleanup --repo OWNER/REPO --all --yesSafe preview first:
gh-actions-cleanup --repo OWNER/REPO --all --dry-run --yes- The CLI uses the selected active GitHub account on the selected host.
- If multiple accounts are authenticated on one host, it can switch using
gh auth switch. - The token in use needs repository and workflow access to delete Actions resources.
-
--dry-runis the safest way to confirm intended changes before deleting anything.
- Wayne Tech Lab LLC: WayneTechLab.com
- Public portfolio: Networks.CHAT
Built by Lucas / SatoshiUNO.