diff --git a/.github/workflows/incrementVersionAndChangelog.js b/.github/workflows/incrementVersionAndChangelog.js index fc0e68af40..8acd76ebe0 100644 --- a/.github/workflows/incrementVersionAndChangelog.js +++ b/.github/workflows/incrementVersionAndChangelog.js @@ -41,7 +41,7 @@ async function parseCommits() { var reachedPreviousVersion = false; var nextVersionString = ""; result.data.forEach(commit => { - if (reachedPreviousVersion) return; + if (reachedPreviousVersion || commit.author == null) return; var author = commit.author.login; if (author === "uncivbot[bot]") return; var commitMessage = commit.commit.message.split("\n")[0];