Skip to content

Commit

Permalink
feat: enable workflow cancellation for "Waiting" workflows (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
xShteff authored Jan 5, 2021
1 parent d3e9e17 commit 035a48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 035a48f

Please sign in to comment.