;dev: tools/ciwatch: succeed if no runs are in progress
This commit is contained in:
parent
c0b63c14e9
commit
cf2c794c6e
@ -11,4 +11,8 @@ cilatestrunning() {
|
|||||||
}
|
}
|
||||||
LATESTRUNNING=$(cilatestrunning)
|
LATESTRUNNING=$(cilatestrunning)
|
||||||
|
|
||||||
gh run watch -i"$INTERVAL" ${LATESTRUNNING:+$LATESTRUNNING} --exit-status
|
if [[ -n $LATESTRUNNING ]]; then
|
||||||
|
gh run watch -i"$INTERVAL" "$LATESTRUNNING" --exit-status
|
||||||
|
else
|
||||||
|
echo "no runs in progress, attempting push"
|
||||||
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user