diff --git a/services/bots/src/github-webhook/handlers/validate-cla.ts b/services/bots/src/github-webhook/handlers/validate-cla.ts index 4c60256..2f46c0f 100644 --- a/services/bots/src/github-webhook/handlers/validate-cla.ts +++ b/services/bots/src/github-webhook/handlers/validate-cla.ts @@ -88,7 +88,7 @@ export class ValidateCla extends BaseWebhookHandler { continue; } - if (!commit.author) { + if (!commit.author?.login) { commitsWithoutLogins.push({ sha: commit.sha, maybeText: commit.commit?.author?.email?.includes('@')