Big refactor... adding convert and conforming to other analyzer template

16 jobs for clean-secrets in 3 minutes and 18 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Go
passed #642177980
go build

00:00:47

failed #642177983
go lint

00:00:32

passed #642177985
go mod tidy

00:00:30

passed #642177982
go test

00:01:00

13.5%
 
  Build
skipped #642177986
build commit
 
  Test
skipped #642177997
check image size
skipped #642177993
allowed to fail
container_scanning
skipped #642177988
allowed to fail
eslint-sast
skipped #642177990
allowed to fail
gosec-sast
skipped #642178000
integration test
passed #642177995
license_scanning

00:03:17

skipped secrets-qa
skipped #642177991
allowed to fail
secrets-sast
skipped test-custom-ca-bundle
 
  Performance Metrics
skipped #642178003
check analyzer scan duration
 
  Tag
skipped #642178005
tag branch
 
Name Stage Failure
failed
go lint Go
go: downloading golang.org/x/tools v0.0.0-20200715235423-130c9f19d3fe
go: extracting golang.org/x/tools v0.0.0-20200715235423-130c9f19d3fe
$ golint -set_exit_status ./...
analyze.go:108:25: error strings should not be capitalized or end with punctuation or a newline
convert/convert.go:42:1: exported function Convert should have comment or be unexported
gitleaks/rule.go:5:6: exported type Rule should have comment or be unexported
gitleaks/rule.go:14:1: comment on exported var Rules should be of the form "Rules ..."
Found 4 lint suggestions; failing.
ERROR: Job failed: exit code 1