mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-15 18:28:42 +07:00
Update uncivbot.yml
This commit is contained in:
4
.github/workflows/uncivbot.yml
vendored
4
.github/workflows/uncivbot.yml
vendored
@ -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
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user