From 3c93372d0cf9b581529b68fa5035497a7d5ab271 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Wed, 20 Jan 2021 23:28:48 +0200 Subject: [PATCH] Update uncivbot.yml --- .github/workflows/uncivbot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/uncivbot.yml b/.github/workflows/uncivbot.yml index 5d917264f9..6c93dca24c 100644 --- a/.github/workflows/uncivbot.yml +++ b/.github/workflows/uncivbot.yml @@ -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({