From 83479337f3091297c262b0790980c6bdf33109d8 Mon Sep 17 00:00:00 2001 From: Beanie <62057938+BeanieMen@users.noreply.github.com> Date: Sat, 3 Feb 2024 06:47:01 +0000 Subject: [PATCH] fix: unnecessary updayes --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 4f66e2bd2..6fc22fc01 100644 --- a/index.ts +++ b/index.ts @@ -127,7 +127,7 @@ async function main() { // - any label if ( devpoolIssue.title !== projectIssue.title || - devpoolIssue.state !== projectIssue.state || + (devpoolIssue.state !== projectIssue.state && !projectIssue.assignee) || (!isDevpoolUnavailableLabel && projectIssue.assignee?.login) || (isDevpoolUnavailableLabel && !projectIssue.assignee?.login) || devpoolIssue.body !== projectIssue.html_url ||