Skip to content

Commit

Permalink
Fix check for no commit author (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored May 31, 2023
1 parent 953b853 commit a0e71b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/bots/src/github-webhook/handlers/validate-cla.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('@')
Expand Down

0 comments on commit a0e71b4

Please sign in to comment.