Skip to content

Commit

Permalink
Fix null authors breaking test merge bot (tgstation#83640)
Browse files Browse the repository at this point in the history
These can be null if they're ghost
  • Loading branch information
Mothblocks authored Jun 3, 2024
1 parent 4d891c7 commit 7c38cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/test_merge_bot/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);

Expand Down

0 comments on commit 7c38cb2

Please sign in to comment.