Skip to content

Commit d29be2c

Browse files
Merge pull request #4817 from linuxfoundation/unicron-detect-one-more-type-of-unsigned-cla-comment-prod
Detecting 'failed CLA' comment if CLA failed due to missing commit au…
2 parents 40c95a9 + e26bd33 commit d29be2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cla-backend-go/github/github_repository.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,6 +1582,9 @@ func hasCheckPreviouslyFailed(ctx context.Context, client *github.Client, owner,
15821582
if strings.Contains(*comment.Body, "is missing the User") {
15831583
return true, comment, nil
15841584
}
1585+
if strings.Contains(*comment.Body, "is not linked to the GitHub account") {
1586+
return true, comment, nil
1587+
}
15851588
}
15861589
return false, nil, nil
15871590
}

0 commit comments

Comments
 (0)