Update uncivbot.yml

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

View File

@ -41,11 +41,11 @@ jobs:
console.log("entry = "+JSON.stringify(entry))
const [author, commits] = entry;
if (commits.length==1) commitSummary += "\n\n" + commitMessage+" By "+author
if (commits.length==1) commitSummary += "\n\n" + commits[0] + " By "+author
else {
commitSummary += "\n\nBy "+author+":"
console.log(JSON.stringify(commits))
commits.forEach(commitMessage => {commitSummary+="\n- "+commitMessage})
commits.forEach(commitMessage => { commitSummary += "\n- "+commitMessage })
}
})
github.issues.createComment({