Skip to content

Commit 37ee2d2

Browse files
nane
1 parent 6c2265a commit 37ee2d2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/final_combined.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ jobs:
110110
message=$(echo "$response" | jq -r '.message // "No message provided"')
111111
112112
if [ "$result_status" != "passed" ]; then
113-
echo -e " ❌ Validation failed: \n \n $message"
113+
echo -e " ❌ Validation failed: \n $message"
114+
echo "$message"
115+
echo "\n"
116+
echo -e " $message"
114117
exit 1
115118
fi
116119

.github/workflows/final_dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
run: |
105105
echo "Sending JSON payload to API"
106106
107-
response=$(curl -s -X POST "$API_BASE/dataConnector" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" --data-binary "@$JSON_PAYLOAD_PATH")
107+
response=$(curl -s -X POST "$API_BASE/dataConnector" -H "Authorization: Bearer $TOKEN" -H "Source: GitHub" -H "Content-Type: application/json" --data-binary "@$JSON_PAYLOAD_PATH")
108108
109109
result_status=$(echo "$response" | jq -r '.status // empty')
110110
message=$(echo "$response" | jq -r '.message // "No message provided"')

0 commit comments

Comments
 (0)