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

View File

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