You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ "$1" = "0" ]; then echo "no architectural changes";
@@ -356,16 +397,22 @@ runs:
356
397
}
357
398
358
399
# Call-to-action: links open the live workspace (github.dev-equivalent) and
359
-
# the extension via the click proxy, with owner/repo/pr appended for tracking.
400
+
# the VS Code extension via the click proxy, with owner/repo/pr for tracking.
401
+
# The warning banner is shown only when real health findings exist.
360
402
cta() {
361
403
[ -z "$CTA_BASE" ] && return
362
404
local ws="${CTA_BASE}/use-workspace?owner=${OWNER}&repo=${REPO}&pr=${PR}"
363
405
local mp="${CTA_BASE}/use-marketplace?owner=${OWNER}&repo=${REPO}&pr=${PR}"
364
406
echo ""
365
407
echo "---"
366
-
echo "π **This is the flattened map.** [**Explore this diff live in your browser β**](${ws}) β expand every component, follow each dependency, and click straight through to the changed code. Opens in your browser, no install."
408
+
if [ -n "$ISSUES" ] && [ "$ISSUES" != "0" ]; then
409
+
local noun="issue"; [ "$ISSUES" != "1" ] && noun="issues"
410
+
echo "β οΈ **${ISSUES} architecture ${noun} found.** [**See live in your browser β**](${ws})"
411
+
echo ""
412
+
fi
413
+
echo "π This is the flattened map. [**Explore this diff live in your browser β**](${ws})"
367
414
echo ""
368
-
echo "π‘ Prefer your editor? [**Get the CodeBoarding VS Code extension β**](${mp}) to explore these architecture diffs right inside VS Code."
415
+
echo "π‘ Prefer your editor? [**Get the CodeBoarding VS Code extension β**](${mp})"
0 commit comments