committed by
Fredrik Adelöw
parent
6d08f818a6
commit
e053eb597a
@@ -51,8 +51,8 @@ const getRepoEvents = async ({ github, context, pull_number }) => {
|
||||
type: 'review',
|
||||
})),
|
||||
...commits.map(({ commit, author, committer }) => ({
|
||||
user: author ?? committer,
|
||||
updated_at: commit.author.date ?? commit.committer.date,
|
||||
user: author || committer,
|
||||
updated_at: commit.author.date || commit.committer.date,
|
||||
type: 'commit',
|
||||
})),
|
||||
...pullComments.map(({ user, updated_at }) => ({
|
||||
|
||||
Reference in New Issue
Block a user