Skip to content

Commit 97dff4d

Browse files
committed
add "submitting" status to fix occasional merge action failure
1 parent c639c85 commit 97dff4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pscale/cli-helper-scripts/wait-for-deploy-request-merged.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function wait_for_deploy_request_merged {
2424
fi
2525
local output=`echo $raw_output | jq ".[] | select(.number == $number) | .deployment.state"`
2626
# test whether output is pending, if so, increase wait timeout exponentially
27-
if [ "$output" = "\"pending\"" ] || [ "$output" = "\"in_progress\"" ]; then
27+
if [ "$output" = "\"pending\"" ] || [ "$output" = "\"in_progress\"" ] || [ "$output" = "\"submitting\"" ]; then
2828
# increase wait variable exponentially but only if it is less than max_timeout
2929
if [ $((wait * 2)) -le $max_timeout ]; then
3030
wait=$((wait * 2))

0 commit comments

Comments
 (0)