From 30ea299626ca58f4a042a968322065a4050acab5 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Sat, 23 Jan 2021 20:23:47 +0200 Subject: [PATCH] Update uncivbot.yml --- .github/workflows/uncivbot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/uncivbot.yml b/.github/workflows/uncivbot.yml index 9798a4492c..341850adcc 100644 --- a/.github/workflows/uncivbot.yml +++ b/.github/workflows/uncivbot.yml @@ -112,8 +112,8 @@ jobs: }) translationPrs.data.forEach(pr => { - console.log(pr.labels) - if (pr.labels.includes("mergeable translations")) + //console.log(pr.labels) + if (pr.labels.some(label => label.name == "mergeable translations")) console.log(pr.title) }) }