1.0.0 • Published 24 days ago

delete-github-workflow-runs v1.0.0

Weekly downloads
-
License
(MIT or CC0 1.0)
Repository
github
Last release
24 days ago

delete-github-workflow-runs

Delete all runs for a given workflow in GitHub, using the GitHub CLI.

How to setup

  1. Install GitHub CLI: https://github.com/cli/cli#installation
  2. Authenticate GitHub CLI: gh auth login
  3. Install this package (probably globally): npm i -g delete-github-workflow-runs

Usage

After following the "How to setup" steps above, execute the script by running:

delete-github-workflow-runs <repo-owner-name> <repo-name> <workflow-name>

Example:

delete-github-workflow-runs electrovir element-vir tests