diff --git a/HelmChart/Docs/GitHub.md b/HelmChart/Docs/GitHub.md new file mode 100644 index 0000000000..8d4e37851d --- /dev/null +++ b/HelmChart/Docs/GitHub.md @@ -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 +``` \ No newline at end of file