-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ
Lucas edited this page Mar 6, 2026
·
5 revisions
No. It can prompt for the authenticated account to use, and it can switch accounts on the selected host with gh auth switch.
No. The CLI is generic. You can point it at any repository you can access with the selected GitHub account.
Start with:
gh-actions-cleanup --repo OWNER/REPO --all --dry-run --yesThat lets you confirm what would be touched before deleting anything.
Depending on the flags you choose, the CLI can affect:
- workflow runs
- artifacts
- caches
- enabled workflows
Yes, as long as the authenticated account and token have the required repository and workflow permissions.
Not generally. Deleting workflow runs, artifacts, and caches should be treated as destructive. Review the target carefully before running the command.