From 035a48f84b47e111d72cf492a513179c92cd29ed Mon Sep 17 00:00:00 2001 From: Alin Stefan Olaru Date: Tue, 5 Jan 2021 10:44:08 +0100 Subject: [PATCH] feat: enable workflow cancellation for "Waiting" workflows (#11) --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 245d4c0..6d3ec98 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -29,7 +29,7 @@ else fi # jq queries -jq_run_ids=".workflow_runs | .[] | select(.head_branch==\"${BRANCH}\" and (.status==\"in_progress\" or .status==\"queued\")) | .id" +jq_run_ids=".workflow_runs | .[] | select(.head_branch==\"${BRANCH}\" and (.status==\"in_progress\" or .status==\"queued\" or .status==\"waiting\")) | .id" # get the github workflow ID