mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-22 13:49:54 +07:00
Attempt to fix strange bug in github api (https://github.com/yairm210/Unciv/actions/runs/4136712446/jobs/7151150557)
This commit is contained in:
@ -41,7 +41,7 @@ async function parseCommits() {
|
|||||||
var reachedPreviousVersion = false;
|
var reachedPreviousVersion = false;
|
||||||
var nextVersionString = "";
|
var nextVersionString = "";
|
||||||
result.data.forEach(commit => {
|
result.data.forEach(commit => {
|
||||||
if (reachedPreviousVersion) return;
|
if (reachedPreviousVersion || commit.author == null) return;
|
||||||
var author = commit.author.login;
|
var author = commit.author.login;
|
||||||
if (author === "uncivbot[bot]") return;
|
if (author === "uncivbot[bot]") return;
|
||||||
var commitMessage = commit.commit.message.split("\n")[0];
|
var commitMessage = commit.commit.message.split("\n")[0];
|
||||||
|
Reference in New Issue
Block a user