feat: add documentation for canceling all GitHub actions jobs using GitHub CLI

This commit is contained in:
Nawaz Dhandala
2025-10-07 15:53:37 +01:00
parent 1526f708de
commit 66bef1284a

21
HelmChart/Docs/GitHub.md Normal file
View File

@@ -0,0 +1,21 @@
# GitHub Ops
### Cancel all GitHub actions jobs at once.
Please install GitHub CLI and run the below command in your terminal.
```
brew install gh
```
Authenticate with your GitHub account
```
gh auth login
````
Then run the below command in your terminal
```
for id in $(gh run list --limit 5000 --jq ".[] | select (.status == \"queued\" ) | .databaseId" --json databaseId,status); do gh run cancel $id; done
```