Update workflows/project-board-automation.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
cae82129e3
commit
9bcc06bca2
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user