Update uncivbot.yml

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

View File

@ -37,7 +37,8 @@ jobs:
}
else commitSummary += "\n\n" + commitMessage
});
ownerToCommits.forEach((commits,author)=>{
Object.entries(ownerToCommits).forEach(entry => {
const [commits,author] = entry;
if (commits.length==1) commitSummary += "\n\n" + commitMessage+" By "+author
else {
commitSummary += "\n\nBy "+author+":"