You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,22 @@ It uses the GitHub API, and requires gh (GitHub CLI) and jq (JSON processor).
16
16
```
17
17
18
18
2. Install`delete-workflow-runs` globally:
19
-
```shh
19
+
```sh
20
20
$ npm i -g delete-workflow-runs
21
21
```
22
+
3. Authenticate to GitHub via`gh` client:
23
+
```sh
24
+
$ gh auth login
25
+
```
26
+
Follow the promptsin the terminal wizard to authenticate.
22
27
23
-
3. Navigate to the directory of the repository that you wish to delete workflow runs from,then run:
28
+
4. Navigate to the directory of the repository that you wish to delete workflow runs from,then run:
24
29
```sh
25
30
$ delete-workflow-runs
26
31
```
27
-
4. Use the`<up>` and`<down>` keys to navigate the list of workflow runs, andselectthe ones to be deleted with`<tab>`.
32
+
5. Use the`<up>` and`<down>` keys to navigate the list of workflow runs, andselectthe ones to be deleted with`<tab>`.
28
33
29
-
5. Press`<enter>` to delete the runs from your GitHub remote.
34
+
6. Press`<enter>` to delete the runs from your GitHub remote.
30
35
31
36
## Contributing
32
37
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!