Skip to content

Add trusted-root create helper command #294

Add trusted-root create helper command

Add trusted-root create helper command #294

Triggered via pull request September 11, 2024 13:15
Status Failure
Total duration 2m 45s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
lint: cmd/cosign/cli/trustedroot/trustedroot.go#L143
G306: Expect WriteFile permissions to be 0600 or less (gosec)
lint: cmd/cosign/cli/trustedroot/trustedroot.go#L35
exported: type name will be used as trustedroot.TrustedRootCreateCmd by other packages, and that stutters; consider calling this CreateCmd (revive)
lint: cmd/cosign/cli/trustedroot.go#L46
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/cosign/cli/trustedroot/trustedroot.go#L111
unnecessary conversion (unconvert)
lint: cmd/cosign/cli/trustedroot/trustedroot.go#L114
unnecessary conversion (unconvert)
lint: cmd/cosign/cli/trustedroot/trustedroot.go#L56
unnecessary trailing newline (whitespace)
lint: cmd/cosign/cli/trustedroot/trustedroot.go#L190
ST1005: error strings should not be capitalized (stylecheck)
lint
issues found