mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
[MIRROR] Fix null authors breaking test merge bot (#27974)
* Fix null authors breaking test merge bot (#83640) These can be null if they're ghost * Fix null authors breaking test merge bot --------- Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
@@ -76,7 +76,7 @@ export async function processTestMerges({ github, context }) {
|
||||
const existingComment =
|
||||
comments.repository.pullRequest.comments.nodes.find(
|
||||
(comment) =>
|
||||
comment.author.login === "github-actions" &&
|
||||
comment.author?.login === "github-actions" &&
|
||||
comment.body.startsWith(TEST_MERGE_COMMENT_HEADER)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user