Update uncivbot.yml

This commit is contained in:
Yair Morgenstern 2021-01-20 23:27:22 +02:00 committed by GitHub
parent 375e36fa44
commit e9d7002778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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