- fix the author in commitMode resolves to the username equally to the standard PR mode

- RELATES TO https://github.com/mikepenz/release-changelog-builder-action/issues/1208
This commit is contained in:
Mike Penz
2023-08-18 17:57:08 +00:00
committed by GitHub
parent f8437dbf1f
commit a44834d880
+2 -2
View File
@@ -92,9 +92,9 @@ export class Commits {
sha: commit.sha || '', sha: commit.sha || '',
summary: commit.commit.message.split('\n')[0], summary: commit.commit.message.split('\n')[0],
message: commit.commit.message, message: commit.commit.message,
author: commit.commit.author?.name || '', author: commit.author?.login || '',
authorDate: moment(commit.commit.author?.date), authorDate: moment(commit.commit.author?.date),
committer: commit.commit.committer?.name || '', committer: commit.committer?.login || '',
commitDate: moment(commit.commit.committer?.date), commitDate: moment(commit.commit.committer?.date),
prNumber: undefined prNumber: undefined
})) }))