Skip to content

Commit 9b10f8e

Browse files
fix: cleaning up unecessary check (#100)
1 parent 5c5ebe6 commit 9b10f8e

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

.github/workflows/jira-ticket-check.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -307,15 +307,6 @@ jobs:
307307
--max-time 30 \
308308
"${API_URL}" 2>&1)
309309
310-
# Check if curl failed (non-zero exit code means curl error, not HTTP error)
311-
if [ $CURL_EXIT -ne 0 ]; then
312-
echo "❌ Failed to connect to Jira API (curl exit code: $CURL_EXIT)"
313-
echo "⚠️ Response: $BODY"
314-
echo "⚠️ Continuing without verification..."
315-
echo "exists=true" >> $GITHUB_OUTPUT
316-
exit 0
317-
fi
318-
319310
# Check if response indicates ticket doesn't exist (404 error in JSON)
320311
if echo "$BODY" | grep -qiE '"errorMessages"|"statusCode":\s*404'; then
321312
echo "❌ Ticket $TICKET does not exist in Jira"

0 commit comments

Comments
 (0)