mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 01:19:59 +02:00
Refactor remove-failed-jobs.sh for improved readability and formatting
This commit is contained in:
parent
040a8fad5b
commit
838569e386
1 changed files with 3 additions and 3 deletions
|
@ -11,8 +11,8 @@ gh_bulk_delete_workflow_runs() {
|
|||
|
||||
# Fetch workflow runs that are cancelled, failed, or timed out
|
||||
local runs
|
||||
runs=$(gh api repos/$repo/actions/runs --paginate |
|
||||
jq -r '.workflow_runs[] |
|
||||
runs=$(gh api repos/$repo/actions/runs --paginate \
|
||||
| jq -r '.workflow_runs[] |
|
||||
select(.conclusion == "cancelled" or
|
||||
.conclusion == "failure" or
|
||||
.conclusion == "timed_out") |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue