Skip to content

Replace all secret references in input map #3679

Replace all secret references in input map

Replace all secret references in input map #3679

Triggered via pull request November 7, 2023 18:26
Status Failure
Total duration 2m 10s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
lint (linux): internal/pkg/policy/secret.go#L74
S1034: assigning the result of this type assertion to a variable (switch ref := ref.(type)) could eliminate type assertions in switch cases (gosimple)
lint (linux): internal/pkg/policy/secret.go#L76
S1034(related information): could eliminate this type assertion (gosimple)
lint (linux): internal/pkg/policy/secret.go#L78
Error return value is not checked (errcheck)
lint (linux): internal/pkg/policy/secret.go#L85
Error return value is not checked (errcheck)
lint (linux)
issues found
lint (linux)
The following actions uses node12 which is deprecated and will be forced to run on node16: golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (linux)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/