delete-workflow-runs

1.0.7 • Public • Published

▶️ 👉🏻 🗑 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.

Package Sidebar

Install

npm i delete-workflow-runs

Weekly Downloads

6

Version

1.0.7

License

MIT

Unpacked Size

2.05 MB

Total Files

9

Last publish

Collaborators

  • jv-k