From 9c0447ae727012d77dea3398120883bbfe9a1e22 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Mar 2026 04:16:41 +0000 Subject: [PATCH] fix: use HTML strong tag instead of markdown bold in summary element Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/gh-aw/sessions/a8d8fd71-1c0f-4161-93bb-3aef83a42852 --- actions/setup/js/firewall_blocked_domains.cjs | 2 +- actions/setup/js/firewall_blocked_domains.test.cjs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/actions/setup/js/firewall_blocked_domains.cjs b/actions/setup/js/firewall_blocked_domains.cjs index 9de978474bd..8f6397ffa02 100644 --- a/actions/setup/js/firewall_blocked_domains.cjs +++ b/actions/setup/js/firewall_blocked_domains.cjs @@ -197,7 +197,7 @@ function generateBlockedDomainsSection(blockedDomains) { let section = "\n\n> [!WARNING]\n"; section += `>
\n`; - section += `> **⚠️ Firewall blocked ${domainCount} ${domainWord}**\n`; + section += `> ⚠️ Firewall blocked ${domainCount} ${domainWord}\n`; section += `>\n`; section += `> The following ${domainWord} ${domainCount === 1 ? "was" : "were"} blocked by the firewall during workflow execution:\n`; section += `>\n`; diff --git a/actions/setup/js/firewall_blocked_domains.test.cjs b/actions/setup/js/firewall_blocked_domains.test.cjs index 6da6aeba507..5fd0009869b 100644 --- a/actions/setup/js/firewall_blocked_domains.test.cjs +++ b/actions/setup/js/firewall_blocked_domains.test.cjs @@ -311,7 +311,7 @@ describe("firewall_blocked_domains.cjs", () => { expect(result).toContain("> [!WARNING]"); expect(result).toContain(">
"); expect(result).toContain(">
"); - expect(result).toContain("> **⚠️ Firewall blocked 1 domain**"); + expect(result).toContain("> ⚠️ Firewall blocked 1 domain"); expect(result).toContain("> - `blocked.example.com`"); expect(result).toContain("> The following domain was blocked by the firewall during workflow execution:"); expect(result).toContain('> ```yaml\n> network:\n> allowed:\n> - defaults\n> - "blocked.example.com"\n> ```'); @@ -325,7 +325,7 @@ describe("firewall_blocked_domains.cjs", () => { expect(result).toContain("> [!WARNING]"); expect(result).toContain(">
"); expect(result).toContain(">
"); - expect(result).toContain("> **⚠️ Firewall blocked 3 domains**"); + expect(result).toContain("> ⚠️ Firewall blocked 3 domains"); expect(result).toContain("> - `alpha.example.com`"); expect(result).toContain("> - `beta.example.com`"); expect(result).toContain("> - `gamma.example.com`");