Deletes all GitHub Actions workflow runs for a repo.
delete-runs.sh→ does the deletioncleaner.sh→ contains your repo + token (gitignored)
bashcurljq- A PAT from GitHub with
reposcope (or fine-grained token with Actions: Read & Write)
cp cleaner-template.sh cleaner.sh
chmod +x cleaner.sh delete-runs.shEdit cleaner.sh and fill:
OWNER="your-user"
REPO="your-repo"
TOKEN="ghp_xxx"./cleaner.shDeletes runs page by page until none remain.
Warning: irreversible.