mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
look back one day
This commit is contained in:
parent
739608e428
commit
98dd3e89ba
1 changed files with 1 additions and 1 deletions
2
.github/workflows/retry-workflow.yml
vendored
2
.github/workflows/retry-workflow.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
|||
EOF
|
||||
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
|
||||
for i in $(cat json| jq --arg d $((`date -u +%s` - 86400)) "$(cat jq.cmd)"); do
|
||||
echo Restarting run $i
|
||||
gh run rerun $i --failed || true
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue