Skip to content

Commit 8c0ac51

Browse files
committed
ci: wrap per-platform RPM diff in collapsible <details> sections
1 parent 5ebb806 commit 8c0ac51

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/build-test-push.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,14 @@ jobs:
442442
443443
[ ! -f "${new}" ] && continue
444444
445-
echo "### Platform: \`${plat}\`" >> "${out}"
445+
446+
# Collapse each platform's RPM diff into a <details> section
447+
{
448+
echo ""
449+
echo "<details>"
450+
echo "<summary>Platform: \`${plat}\`</summary>"
451+
echo ""
452+
} >> "${out}"
446453
447454
if [ -f "${old}" ]; then
448455
# Added / Removed sets based on names
@@ -512,6 +519,12 @@ jobs:
512519
cut -f1 "${new}" | awk '{print "- " $0}' >> "${out}"
513520
echo "" >> "${out}"
514521
any_section=true
522+
523+
{
524+
echo ""
525+
echo "</details>"
526+
echo ""
527+
} >> "${out}"
515528
fi
516529
done
517530

0 commit comments

Comments
 (0)