Skip to content

feat: patch generated random secret key for access token when empty #48

feat: patch generated random secret key for access token when empty

feat: patch generated random secret key for access token when empty #48

Triggered via pull request August 2, 2024 12:06
Status Failure
Total duration 45s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: pkg/cmd/cmd.go#L74
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
Lint: pkg/cmd/cmd.go#L168
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
Lint: pkg/cmd/cmd.go#L75
declarations should never be cuddled (wsl)
Lint: pkg/cmd/cmd.go#L76
assignments should only be cuddled with other assignments (wsl)
Lint: pkg/cmd/cmd.go#L77
only one cuddle assignment allowed before range statement (wsl)
Lint: pkg/cmd/cmd.go#L80
return statements should not be cuddled if block has more than two lines (wsl)
Lint: pkg/cmd/cmd.go#L106
if statements should only be cuddled with assignments (wsl)
Lint: pkg/cmd/cmd.go#L109
assignments should only be cuddled with other assignments (wsl)
Lint: pkg/cmd/cmd.go#L110
only one cuddle assignment allowed before if statement (wsl)
Lint: pkg/cmd/cmd.go#L113
if statements should only be cuddled with assignments (wsl)
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/Node-Automated-Deployer/Node-Automated-Deployer. Supported file pattern: go.sum