Skip to content

Commit

Permalink
clean up comments, add imports, run all probes
Browse files Browse the repository at this point in the history
Signed-off-by: André Backman <[email protected]>
  • Loading branch information
andrelmbackman authored and André Backman committed Jul 26, 2023
1 parent 9253871 commit 36e41ff
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions probes/entries.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -33,23 +33,24 @@ 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,
toolPyUpInstalled.Run,
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,
})
}
Expand Down

0 comments on commit 36e41ff

Please sign in to comment.