diff --git a/.github/workflows/changelog-check.yml b/.github/workflows/changelog-check.yml index 0b9176e..c7c31c4 100644 --- a/.github/workflows/changelog-check.yml +++ b/.github/workflows/changelog-check.yml @@ -82,7 +82,9 @@ jobs: } if (line.startsWith("+")) { const text = line.slice(1); - addedLines.push({ line: currentLine, text }); + if (text.trim() && !text.startsWith("## ") && !text.startsWith("### ")) { + addedLines.push({ line: currentLine, text }); + } if (currentLine > 0) currentLine += 1; continue; }