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

View File

@ -32,7 +32,7 @@ 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 != owner){ if (author != context.repo.owner){
if (ownerToCommits.get(author)==undefined) ownerToCommits.set(author,[]) if (ownerToCommits.get(author)==undefined) ownerToCommits.set(author,[])
ownerToCommits.get(author).push(commitMessage) ownerToCommits.get(author).push(commitMessage)
} }