Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jv-k/delete-gh-workflow-runs
▶️ 👉🏻 🗑 Easily mass-delete GitHub Workflow runs
https://github.com/jv-k/delete-gh-workflow-runs
delete-workflow-runs github-api gitub-actions workflow-runs workflows
Last synced: about 2 months ago
JSON representation
▶️ 👉🏻 🗑 Easily mass-delete GitHub Workflow runs
- Host: GitHub
- URL: https://github.com/jv-k/delete-gh-workflow-runs
- Owner: jv-k
- License: mit
- Created: 2022-02-01T22:20:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-28T05:33:43.000Z (almost 2 years ago)
- Last Synced: 2024-09-25T22:54:03.737Z (3 months ago)
- Topics: delete-workflow-runs, github-api, gitub-actions, workflow-runs, workflows
- Language: Shell
- Homepage: https://npmjs.com/package/delete-workflow-runs
- Size: 1.85 MB
- Stars: 43
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ▶️ 👉🏻 🗑 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).
![](demo.gif)
## QuickStart
1. Install pre-requisites [GitHub CLI](https://github.com/cli/cli), [jq](https://github.com/stedolan/jq), and [fzf](https://github.com/junegunn/fzf) for example on `MacOS`:
```sh
$ brew install gh jq fzf
```2. Install `delete-workflow-runs` globally:
```shh
$ npm i -g delete-workflow-runs
```3. Navigate to the directory of the repository that you wish to delete workflow runs from, then run:
```sh
$ delete-workflow-runs
```
4. Use the `` and `` keys to navigate the list of workflow runs, and select the ones to be deleted with ``.5. Press `` to delete the runs from your GitHub remote.
## Contributing
I'd love you to contribute to `@jv-k/delete-workflow-runs`, [pull requests](https://github.com/jv-k/delete-workflow-runs/issues/new/choose) are welcome for submitting issues and bugs!## License
The scripts and documentation in this project are released under the [MIT license](https://github.com/jv-k/delete-workflow-runs/blob/master/LICENSE).