Skip to content

Commit 035a48f

Browse files
authored
feat: enable workflow cancellation for "Waiting" workflows (#11)
1 parent d3e9e17 commit 035a48f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ else
2929
fi
3030

3131
# jq queries
32-
jq_run_ids=".workflow_runs | .[] | select(.head_branch==\"${BRANCH}\" and (.status==\"in_progress\" or .status==\"queued\")) | .id"
32+
jq_run_ids=".workflow_runs | .[] | select(.head_branch==\"${BRANCH}\" and (.status==\"in_progress\" or .status==\"queued\" or .status==\"waiting\")) | .id"
3333

3434
# get the github workflow ID
3535

0 commit comments

Comments
 (0)