mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-30 15:30:43 -04:00
Update uncivbot.yml
This commit is contained in:
parent
e9d7002778
commit
3c93372d0c
4
.github/workflows/uncivbot.yml
vendored
4
.github/workflows/uncivbot.yml
vendored
@ -41,11 +41,11 @@ jobs:
|
|||||||
|
|
||||||
console.log("entry = "+JSON.stringify(entry))
|
console.log("entry = "+JSON.stringify(entry))
|
||||||
const [author, commits] = 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 {
|
else {
|
||||||
commitSummary += "\n\nBy "+author+":"
|
commitSummary += "\n\nBy "+author+":"
|
||||||
console.log(JSON.stringify(commits))
|
console.log(JSON.stringify(commits))
|
||||||
commits.forEach(commitMessage => {commitSummary+="\n- "+commitMessage})
|
commits.forEach(commitMessage => { commitSummary += "\n- "+commitMessage })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
github.issues.createComment({
|
github.issues.createComment({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user