-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erroneous inconclusive CI-Tests result #96
Comments
I think I see what's happening here. |
Yeah, this is a tough case. It's hard to definitively prove a negative here, so I erred on the side of caution. I don't feel very strongly here either way, if you think something else makes more sense that's fine with me! |
Add negative check results to the CI-Tests output. Assuming that a repo will only support one CI system, GithubStatuses and GithubCheckRuns are merged into a single CITests function. Since both GithubStatuses and GithubCheckRuns were essentially validating the same PRs, it makes more sense to keep all of that state together in a single check. Additionaly, a single check can reduce the number of API queries once we detect the CI system in use. Fixes ossf#96 Updates ossf#95
Given:
scorecard/checks/ci_tests.go
Lines 58 to 59 in 1991617
Shouldn't that be
if totalMerged == 0
?If we have 10 merged PRs and zero tests found for those PRs, that should not be an inconclusive result. It should
Fail 10
notFail 0
. Or am I missing something?The text was updated successfully, but these errors were encountered: