Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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(/<!--[\s\S]*?-->/g, '');
summaryContent.replace(/<!--[\s\S]*?(?:-->|$)/g, '');

// Remove whitespace and check if there's actual text content
const trimmedContent = contentWithoutComments.trim();
Expand Down
Loading