look back one day

This commit is contained in:
Daniel A. Wozniak 2025-02-03 01:35:51 -07:00 committed by Daniel Wozniak
parent 739608e428
commit 98dd3e89ba

View file

@ -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