Update uncivbot.yml

This commit is contained in:
Yair Morgenstern 2021-01-23 20:23:47 +02:00 committed by GitHub
parent dd07cd47e6
commit 30ea299626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
})
}