mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Increase time
This commit is contained in:
parent
6c4053572b
commit
739608e428
1 changed files with 3 additions and 3 deletions
6
.github/workflows/retry-workflow.yml
vendored
6
.github/workflows/retry-workflow.yml
vendored
|
@ -29,9 +29,9 @@ jobs:
|
|||
( .updatedAt |fromdate ) > ( $d |tonumber ) and .attempt < 5
|
||||
).databaseId
|
||||
EOF
|
||||
gh run ls -w ci.yml --status failure --status startup_failure \
|
||||
--limit=100 --json databaseId,updatedAt,attempt > json
|
||||
for i in $(cat json| jq --arg d $((`date -u +%s` - 2 * 24 * 60 * 60)) "$(cat jq.cmd)"); do
|
||||
gh run ls -w ci.yml --status failure \
|
||||
--limit=1000 --json databaseId,updatedAt,attempt > json
|
||||
for i in $(cat json| jq --arg d $((`date -u +%s` - 24 * 60 * 60 * 1000)) "$(cat jq.cmd)"); do
|
||||
echo Restarting run $i
|
||||
gh run rerun $i --failed || true
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue