From 9c056e2f890f69927771eb294abc0b7df22e94e7 Mon Sep 17 00:00:00 2001 From: Kakathic Date: Wed, 1 Nov 2023 19:26:39 +0700 Subject: [PATCH] Update test.sh --- test.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test.sh b/test.sh index f81f066..1624b35 100644 --- a/test.sh +++ b/test.sh @@ -1,8 +1,10 @@ +( while true; do if [ "$(gh issue view 14 | grep -cm1 CLOSED)" == 1 ];then gh run cancel $GITHUB_RUN_ID -else -sleep 1 -echo 1 fi done +) & ( +sleep 1 +echo 1 +)