Skip to content

Delete old runs of deleted GitHub Actions


GitHub does not have a proper way to delete old GitHub Actions runs yet, so you have to get creative

See below community thread:


gh run list --workflow "<your workflow name>" --json databaseId --limit 1000 | jq -r '.[].databaseId' | while read -r line; do gh run delete $line; done

Want to make this site better? Open a PR or help fund hosting costs