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