Skip to content

Instantly share code, notes, and snippets.

@shayelkin
Last active January 22, 2026 04:55
Show Gist options
  • Select an option

  • Save shayelkin/04c9cc85f532765b271fbe31fe4abf5a to your computer and use it in GitHub Desktop.

Select an option

Save shayelkin/04c9cc85f532765b271fbe31fe4abf5a to your computer and use it in GitHub Desktop.
Mass erase Github Workflow runs
#!/bin/sh
gh run ls --all --workflow $1 --json databaseId -q ".[].databaseId" | xargs -n1 gh run delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment