Skip to content

Commit e26bd33

Browse files
Detecting 'failed CLA' comment if CLA failed due to missing commit author (prod)
Signed-off-by: Lukasz Gryglicki <[email protected]> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
1 parent 40c95a9 commit e26bd33

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)