Skip to content

jv-k/delete-gh-workflow-runs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

▢️ πŸ‘‰πŸ» πŸ—‘ 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

  1. Install pre-requisites GitHub CLI, jq, and fzf for example on MacOS:

    $ brew install gh jq fzf
  2. Install delete-workflow-runs globally:

    $ npm i -g delete-workflow-runs
    
  3. Navigate to the directory of the repository that you wish to delete workflow runs from, then run:

    $ delete-workflow-runs
  4. Use the <up> and <down> keys to navigate the list of workflow runs, and select the ones to be deleted with <tab>.

  5. 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.