diff --git a/bin/check-pr-template.mjs b/bin/check-pr-template.mjs index ff403336e..a34bf2d07 100644 --- a/bin/check-pr-template.mjs +++ b/bin/check-pr-template.mjs @@ -58,7 +58,7 @@ if (!testingContent) { const checklistMatch = body.match(/## Checklist:\s*\n([\s\S]*?)$/); const checklistContent = checklistMatch ? checklistMatch[1] : ''; -const totalBoxes = (checklistContent.match(/- \[[ x]\]/g) || []).length; +const totalBoxes = (checklistContent.match(/- \[[ x]\]/gi) || []).length; const checkedBoxes = (checklistContent.match(/- \[x\]/gi) || []).length; if (totalBoxes === 0) {