-
Notifications
You must be signed in to change notification settings - Fork 579
Description
Is your feature request related to a problem? Please describe.
The Code-review check currently checks if there are unreviewed changesets and only counts reviewers whose logins != author login. If the logins can't be retrieved (ex. they were reviewed outside of GitHub) the check gets full points. This is an understandable approach until the scorecard can handle other review platforms, but not the safest.
Describe the solution you'd like
I am working on a probe that checks that:
A. the logins of both author and reviewers are retrieved(otherwise the results are inconclusive)
B. that there are at least two unique reviewers per changeset.
The amount of minimum unique reviewers wanted for a positive outcome can easily be changed in the impl.go file.
Describe alternatives you've considered
To update the scorecard's retrieval of raw data to support multiple review platforms, this would also be needed to utilize the probe's full potential. This, however, is another issue for another day. Not all users of the scorecard is interested in an aggregate score, but want more binary conditions that either pass or fail, hence the probe.