mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-19 04:57:14 +03:00
fix check
This commit is contained in:
parent
6c790d84da
commit
5649a8370c
@ -51,10 +51,9 @@ func GithubCodeReview(c checker.Checker) checker.CheckResult {
|
||||
}
|
||||
}
|
||||
|
||||
if totalReviewed == 0 {
|
||||
return checker.InconclusiveResult
|
||||
if totalReviewed > 0 {
|
||||
c.Logf("github code reviews found")
|
||||
}
|
||||
c.Logf("github code reviews found")
|
||||
return checker.ProportionalResult(totalReviewed, totalMerged, .75)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user