mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
;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)
|
||||
|
||||
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