Update uncivbot.yml

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

View File

@ -33,8 +33,8 @@ jobs:
if(commitMessage.startsWith("Merge ")) return
commitMessage = commitMessage.replace(/\(\#\d+\)/,"") // match PR auto-text, like (#2345)
if (author != context.repo.owner){
if (ownerToCommits.get(author)==undefined) ownerToCommits.set(author,[])
ownerToCommits.get(author).push(commitMessage)
if (ownerToCommits[author]==undefined) ownerToCommits[author]=[]
ownerToCommits[author].push(commitMessage)
}
else commitSummary += "\n\n" + commitMessage
});