delete-gh-workflow-runs
delete-gh-workflow-runs copied to clipboard
▶️ 👉🏻 🗑 Easily mass-delete GitHub Workflow runs
▶️ 👉🏻 🗑 Delete Workflow Runs
Easily mass-delete GitHub Workflow runs from your GitHub remote repository via the command line.
Conventiently select multiple entries to be deleted at once from a navigable list.
It uses the GitHub API, and requires gh (GitHub CLI) and jq (JSON processor).
QuickStart
-
Install pre-requisites GitHub CLI, jq, and fzf for example on
MacOS
:$ brew install gh jq fzf
-
Install
delete-workflow-runs
globally:$ npm i -g delete-workflow-runs
-
Navigate to the directory of the repository that you wish to delete workflow runs from, then run:
$ delete-workflow-runs
-
Use the
<up>
and<down>
keys to navigate the list of workflow runs, and select the ones to be deleted with<tab>
. -
Press
<enter>
to delete the runs from your GitHub remote.
Contributing
I'd love you to contribute to @jv-k/delete-workflow-runs
, pull requests are welcome for submitting issues and bugs!
License
The scripts and documentation in this project are released under the MIT license.