Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix chore label assignment logic in PR bot workflow

shamoon852eb0ef3664
diff --git a/.github/workflows/pr-bot.yml b/.github/workflows/pr-bot.yml
index 9f5bf5020..b918ec0af 100644
--- a/.github/workflows/pr-bot.yml
+++ b/.github/workflows/pr-bot.yml
@@ -37,7 +37,7 @@ jobs:
labels.push('bug');
} else if (/^feature/i.test(title)) {
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
}