From 91db6f53936cc2b25a3d46c1e7b09bbb1bd0c917 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Wed, 20 Jan 2021 23:11:21 +0200 Subject: [PATCH] Update uncivbot.yml --- .github/workflows/uncivbot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/uncivbot.yml b/.github/workflows/uncivbot.yml index 13284fba09..2f3f35a2f2 100644 --- a/.github/workflows/uncivbot.yml +++ b/.github/workflows/uncivbot.yml @@ -32,7 +32,7 @@ jobs: } if(commitMessage.startsWith("Merge ")) return commitMessage = commitMessage.replace(/\(\#\d+\)/,"") // match PR auto-text, like (#2345) - if (author != owner){ + if (author != context.repo.owner){ if (ownerToCommits.get(author)==undefined) ownerToCommits.set(author,[]) ownerToCommits.get(author).push(commitMessage) }