Skip to content

Commit a108e74

Browse files
committed
style: alert format
1 parent 184a92d commit a108e74

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/scripts/slack_e2e_summary.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ if [ -f "$json_file" ]; then
4848
] +
4949
# Add test name blocks in order: failed, inconclusive, passed, ignored
5050
(if .failedCount > 0 then
51-
[{type: "section", text: {type: "mrkdwn", text: ("*❌ Failed tests:*\n" + ([.failedTests | to_entries[] | " *[\(.key)]*\n" + (.value | map(" • " + .) | join("\n"))] | join("\n")))}}]
51+
[{type: "section", text: {type: "mrkdwn", text: ("*❌ Failed tests:*\n" + ([.failedTests | to_entries[] | " *\(.key):*\n" + (.value | map(" • " + .) | join("\n"))] | join("\n")))}}]
5252
else [] end) +
5353
(if .inconclusiveCount > 0 then
54-
[{type: "section", text: {type: "mrkdwn", text: ("*⚠️ Inconclusive tests:*\n" + ([.inconclusiveTests | to_entries[] | " *[\(.key)]*\n" + (.value | map(" • " + .) | join("\n"))] | join("\n")))}}]
54+
[{type: "section", text: {type: "mrkdwn", text: ("*⚠️ Inconclusive tests:*\n" + ([.inconclusiveTests | to_entries[] | " *\(.key):*\n" + (.value | map(" • " + .) | join("\n"))] | join("\n")))}}]
5555
else [] end) +
5656
(if .passedCount > 0 then
57-
[{type: "section", text: {type: "mrkdwn", text: ("*✅ Passed tests:*\n" + ([.passedTests | to_entries[] | " *[\(.key)]*\n" + (.value | map(" • " + .) | join("\n"))] | join("\n")))}}]
57+
[{type: "section", text: {type: "mrkdwn", text: ("*✅ Passed tests:*\n" + ([.passedTests | to_entries[] | " *\(.key):*\n" + (.value | map(" • " + .) | join("\n"))] | join("\n")))}}]
5858
else [] end) +
5959
(if .ignoredCount > 0 then
60-
[{type: "section", text: {type: "mrkdwn", text: ("*⏭️ Ignored tests:*\n" + ([.ignoredTests | to_entries[] | " *[\(.key)]*\n" + (.value | map(" • " + .) | join("\n"))] | join("\n")))}}]
60+
[{type: "section", text: {type: "mrkdwn", text: ("*⏭️ Ignored tests:*\n" + ([.ignoredTests | to_entries[] | " *\(.key):*\n" + (.value | map(" • " + .) | join("\n"))] | join("\n")))}}]
6161
else [] end)
6262
' "$json_file")
6363
fi

0 commit comments

Comments
 (0)