Fix chore label assignment logic in PR bot workflow

This commit is contained in:
shamoon
2025-09-03 17:08:20 -07:00
parent 0870d42eae
commit 852eb0ef36

View File

@@ -37,7 +37,7 @@ jobs:
labels.push('bug'); labels.push('bug');
} else if (/^feature/i.test(title)) { } else if (/^feature/i.test(title)) {
labels.push('enhancement'); labels.push('enhancement');
} else if (!/^(dependabot)/i.test(title) && /^(chore)/i.test(title)) { } else if (!/^(dependabot)/i.test(title) && !/^(chore)/i.test(title)) {
labels.push('enhancement'); // Default fallback labels.push('enhancement'); // Default fallback
} }