From a2ed63c07503d094e9037852e8bf7c035bf5fc08 Mon Sep 17 00:00:00 2001 From: John Valai Date: Fri, 23 Dec 2022 21:43:41 +0000 Subject: [PATCH 1/2] chore: updated package.json, updated package-lock.json, updated CHANGELOG.md, bumped 1.0.6 -> 1.0.7 --- CHANGELOG.md | 6 ++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 677109b..bf4803d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.0.7 (December 23, 2022) +- chore: updated package.json, updated package-lock.json, updated CHANGELOG.md, bumped 1.0.6 -> 1.0.7 +- Merge pull request #4 from ntno/add-prereq +- add fzf prerequisite +- merge pull request #3 from jv-k/release-1.0.6 + ## 1.0.6 (June 28, 2022) - chore: updated package.json, updated package-lock.json, updated CHANGELOG.md, bumped 1.0.5 -> 1.0.6 - docs: update project description diff --git a/package-lock.json b/package-lock.json index ac1974e..0bb4c6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "delete-workflow-runs", - "version": "1.0.6", + "version": "1.0.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "delete-workflow-runs", - "version": "1.0.6", + "version": "1.0.7", "license": "MIT", "bin": { "delete-workflow-runs": "delete-workflow-runs.sh" diff --git a/package.json b/package.json index 35fa270..d50aea5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "delete-workflow-runs", - "version": "1.0.6", + "version": "1.0.7", "description": "", "bin": "./delete-workflow-runs.sh", "homepage": "https://github.com/jv-k/delete-workflow-runs", From 8f755e857ba0202eaa0aefeb9af6a6d31e131489 Mon Sep 17 00:00:00 2001 From: Banjo Fox Date: Thu, 30 Jan 2025 21:38:16 -0500 Subject: [PATCH 2/2] Add a step, and comments about authenticating using the GitHub Client --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5b275b3..9a48e43 100644 --- a/README.md +++ b/README.md @@ -16,17 +16,22 @@ It uses the GitHub API, and requires gh (GitHub CLI) and jq (JSON processor). ``` 2. Install `delete-workflow-runs` globally: - ```shh + ```sh $ npm i -g delete-workflow-runs ``` +3. Authenticate to GitHub via `gh` client: + ```sh + $ gh auth login + ``` + Follow the prompts in the terminal wizard to authenticate. -3. Navigate to the directory of the repository that you wish to delete workflow runs from, then run: +4. 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. 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. +6. 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!