]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix chore label assignment logic in PR bot workflow
authorshamoon <4887959+shamoon@users.noreply.github.com>
Thu, 4 Sep 2025 00:08:20 +0000 (17:08 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Thu, 4 Sep 2025 00:08:20 +0000 (17:08 -0700)
.github/workflows/pr-bot.yml

index 9f5bf5020f4c92fa7f0c987f59ee55e9b00c6a3f..b918ec0afc42d1276ff8d8a41ff974ffb9f427ce 100644 (file)
@@ -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
             }