Skip to content

Commit aa7ef7c

Browse files
authored
ci: fix workflow issues
1 parent 88358ee commit aa7ef7c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/mirror-changelog.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ jobs:
8282
// Match and extract changelog item
8383
const itemMatch = trimmedLine.match(/^[*-]\s(.*)$/);
8484
if (itemMatch) {
85-
const originalContent = itemMatch[1];
85+
let originalContent = itemMatch[1];
86+
87+
// remove zero-width space character
88+
originalContent = originalContent.replace(/\u200B/g, '');
8689
const lineAsLowerCase = originalContent.toLowerCase();
8790
8891
const hasPrefix = prefixesToFilter.some(prefix => lineAsLowerCase.includes(prefix));

0 commit comments

Comments
 (0)