Update workflows/project-board-automation.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Felipe Knorr Kuhn 2026-02-15 16:18:55 -08:00 committed by GitHub
parent cae82129e3
commit 9bcc06bca2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,8 +87,7 @@ jobs:
if (!isUnprocessable) return false;
// Match the known GitHub error phrasing for duplicate items
const msg = e.message.toLowerCase();
return /already\s+(exists\s+)?in\s+(this\s+)?project\b/i.test(msg) ||
msg.includes('already');
return /already\s+(exists\s+)?in\s+(this\s+)?project\b/i.test(msg);
});
if (isAlreadyInProject) {