We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff31d3c commit 3ca264fCopy full SHA for 3ca264f
2 files changed
ephemeral/shutdown/action.yml
@@ -66,7 +66,7 @@ runs:
66
echo "Unable to delete preview environment. API returned HTTP code: $http_code"
67
return 1
68
fi
69
- fi
+ }
70
retry shutdown_instance
71
72
- name: Update status comment
ephemeral/startup/action.yml
@@ -96,7 +96,7 @@ runs:
96
-H "$AUTH_HEADER" \
97
-H "$CONTENT_TYPE_HEADER" \
98
"$API_URL_BASE")
99
- if echo "$list_response" | jq -e '.error == true' > /dev/null; then
+ if ! echo "$list_response" | jq -e 'type == "array"' > /dev/null; then
100
echo "API returned an error: $list_response"
101
102
@@ -137,7 +137,7 @@ runs:
137
echo "Unable to create preview environment. API response: $response"
138
139
140
141
142
retry create_instance_func
143
0 commit comments