From 8aabe32fc61250dd75967b58c6f71e91f421785a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 4 Sep 2025 10:00:53 +0000 Subject: [PATCH 1/2] Initial plan From fad53aad48e0f7dd07d5d4e44eb4defadfedce7d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 4 Sep 2025 10:09:16 +0000 Subject: [PATCH 2/2] Fix PR formatting check to handle unclosed HTML comments Co-authored-by: bewithgaurav <8655500+bewithgaurav@users.noreply.github.com> --- .github/workflows/pr-format-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-format-check.yml b/.github/workflows/pr-format-check.yml index 48e3b6e9..3155eed9 100644 --- a/.github/workflows/pr-format-check.yml +++ b/.github/workflows/pr-format-check.yml @@ -57,9 +57,9 @@ jobs: // Extract the summary content const summaryContent = summaryMatch[1]; - // Remove all HTML comments including the template placeholder + // Remove all HTML comments including unclosed ones (template placeholders) const contentWithoutComments = - summaryContent.replace(//g, ''); + summaryContent.replace(/|$)/g, ''); // Remove whitespace and check if there's actual text content const trimmedContent = contentWithoutComments.trim();