Skip to content

fix(secrets): abstract populateEvents for secret usage #3149

fix(secrets): abstract populateEvents for secret usage

fix(secrets): abstract populateEvents for secret usage #3149

Triggered via push March 21, 2024 13:21
Status Success
Total duration 3m 22s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 errors
[golangci] command/secret/add.go#L3: command/secret/add.go#L3
3-216 lines are duplicate of `command/secret/update.go:3-216` (dupl)
[golangci] command/secret/update.go#L3: command/secret/update.go#L3
3-216 lines are duplicate of `command/secret/add.go:3-216` (dupl)
[golangci] action/pipeline/validate.go#L149: action/pipeline/validate.go#L149
149-197 lines are duplicate of `action/pipeline/compile.go:15-63` (dupl)
[golangci] action/pipeline/exec.go#L24: action/pipeline/exec.go#L24
Function 'Exec' is too long (163 > 160) (funlen)
[golangci] internal/output/yaml_test.go#L72: internal/output/yaml_test.go#L72
unused-parameter: parameter 'unmarshal' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] action/pipeline/validate_test.go#L445: action/pipeline/validate_test.go#L445
assignments should only be cuddled with other assignments (wsl)
[golangci] action/pipeline/validate_test.go#L446: action/pipeline/validate_test.go#L446
only one cuddle assignment allowed before if statement (wsl)
[golangci] action/pipeline/validate_test.go#L450: action/pipeline/validate_test.go#L450
if statements should only be cuddled with assignments (wsl)
[golangci] command/secret/add.go#L150: command/secret/add.go#L150
directive `//nolint:dupl // ignore similar code with update` is unused for linter "dupl" (nolintlint)
[golangci] command/secret/update.go#L150: command/secret/update.go#L150
directive `//nolint:dupl // ignore similar code with add` is unused for linter "dupl" (nolintlint)
[golangci] command/worker/add.go#L3: command/worker/add.go#L3
directive `//nolint:dupl // ignore similar code with update` is unused for linter "dupl" (nolintlint)
[golangci] command/worker/view.go#L70: command/worker/view.go#L70
directive `//nolint:dupl // ignore similar code with chown, get, remove and repair` is unused for linter "dupl" (nolintlint)