mirror of
https://github.com/zen-browser/desktop.git
synced 2026-02-07 04:17:16 +00:00
Update @zen-browser/surfer dependency to version 1.8.5 and enhance job removal script to handle cancelled and timed out runs
This commit is contained in:
@@ -7,7 +7,7 @@ gh_bulk_delete_workflow_runs() {
|
||||
return 1
|
||||
fi
|
||||
|
||||
runs=$(gh api repos/$repo/actions/runs --paginate | jq -r '.workflow_runs[] | select(.conclusion == "failure") | .id')
|
||||
runs=$(gh api repos/$repo/actions/runs --paginate | jq -r '.workflow_runs[] | select(.conclusion == "cancelled" or .conclusion == "failure" or .conclusion == "timed_out") | .id')
|
||||
|
||||
while IFS= read -r run; do
|
||||
echo "Deleting run https://github.com/$repo/actions/runs/$run"
|
||||
|
||||
Reference in New Issue
Block a user