From 36e41ffbf8a1163d375710e518223636941ebe23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Backman?= Date: Mon, 24 Jul 2023 16:05:39 +0300 Subject: [PATCH] clean up comments, add imports, run all probes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Backman --- probes/entries.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/probes/entries.go b/probes/entries.go index a965ea77c5e..460e6716d8e 100644 --- a/probes/entries.go +++ b/probes/entries.go @@ -15,11 +15,11 @@ package probes import ( - //codeApproved "command-line-argumentsC:\\Users\\abackman\\workspace\\opensource\\nokia_scorecard\\probes\\codeApproved\\impl.go" "github.com/ossf/scorecard/v4/checker" "github.com/ossf/scorecard/v4/finding" "github.com/ossf/scorecard/v4/probes/codeApproved" -// "github.com/ossf/scorecard/v4/probes/codeReviewTwoReviewers" + "github.com/ossf/scorecard/v4/probes/codeReviewed" + "github.com/ossf/scorecard/v4/probes/codeReviewTwoReviewers" "github.com/ossf/scorecard/v4/probes/toolDependabotInstalled" "github.com/ossf/scorecard/v4/probes/toolPyUpInstalled" "github.com/ossf/scorecard/v4/probes/toolRenovateInstalled" @@ -33,7 +33,7 @@ var ( // All represents all the probes. All []ProbeImpl // DependencyToolUpdates is all the probes for the - // DpendencyUpdateTool check. + // DependencyUpdateTool check. DependencyToolUpdates = []ProbeImpl{ toolRenovateInstalled.Run, toolDependabotInstalled.Run, @@ -41,15 +41,16 @@ var ( toolSonatypeLiftInstalled.Run, } CodeReviewChecks = []ProbeImpl { - //codeReviewTwoReviewers.Run, codeApproved.Run, + codeReviewed.Run, + codeReviewTwoReviewers.Run, } ) //nolint:gochecknoinits func init() { All = concatMultipleProbes([][]ProbeImpl{ - /* Not our probes, not checked*/ //DependencyToolUpdates, + DependencyToolUpdates, CodeReviewChecks, }) }