Update uncivbot.yml

This commit is contained in:
Yair Morgenstern 2021-01-20 23:11:21 +02:00 committed by GitHub
parent bd7d8e9249
commit 91db6f5393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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