fix(deps): update all non-major dependencies - #644
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (50)
action/build/validate.go|26 col 17| string restart has 8 occurrences, make it a constant (goconst)
action/config/load.go|192 col 9| string true has 7 occurrences, make it a constant (goconst)
action/config/update.go|150 col 16| string true has 7 occurrences, make it a constant (goconst)
action/config/validate.go|22 col 17| string generate has 13 occurrences, make it a constant (goconst)
action/dashboard/validate.go|15 col 17| string add has 3 occurrences, make it a constant (goconst)
action/dashboard/validate.go|23 col 17| string update has 6 occurrences, make it a constant (goconst)
action/deployment/validate.go|26 col 17| string add has 9 occurrences, make it a constant (goconst)
action/deployment/validate.go|39 col 17| string view has 11 occurrences, make it a constant (goconst)
action/hook/validate.go|26 col 17| string view has 11 occurrences, make it a constant (goconst)
action/repo/validate.go|18 col 17| string get has 8 occurrences, make it a constant (goconst)
action/repo/validate.go|34 col 17| string add has 8 occurrences, make it a constant (goconst)
action/secret/add.go|146 col 24| string add has 24 occurrences, make it a constant (goconst)
action/secret/update.go|152 col 24| string update has 22 occurrences, make it a constant (goconst)
action/secret/validate.go|69 col 17| string remove has 9 occurrences, make it a constant (goconst)
action/secret/validate.go|77 col 17| string add has 24 occurrences, make it a constant (goconst)
action/service/validate.go|31 col 17| string view has 12 occurrences, make it a constant (goconst)
action/step/validate.go|31 col 17| string view has 12 occurrences, make it a constant (goconst)
command/config/update.go|35 col 13| string access token used for communication with the Vela server has 3 occurrences, make it a constant (goconst)
command/secret/add.go|101 col 13| string true has 4 occurrences, make it a constant (goconst)
command/secret/add.go|123 col 13| string format the output in json, spew or yaml has 3 occurrences, make it a constant (goconst)
command/secret/remove.go|22 col 15| string secret has 5 occurrences, make it a constant (goconst)
command/secret/remove.go|34 col 13| string provide the organization for the secret has 5 occurrences, make it a constant (goconst)
command/secret/remove.go|40 col 13| string provide the repository for the secret has 5 occurrences, make it a constant (goconst)
command/secret/remove.go|49 col 13| string provide the engine that stores the secret has 5 occurrences, make it a constant (goconst)
command/secret/remove.go|56 col 13| string provide the type of secret being stored has 5 occurrences, make it a constant (goconst)
command/secret/remove.go|61 col 13| string team has 5 occurrences, make it a constant (goconst)
command/secret/remove.go|63 col 13| string provide the team for the secret has 5 occurrences, make it a constant (goconst)
command/secret/remove.go|67 col 13| string name has 4 occurrences, make it a constant (goconst)
command/secret/remove.go|69 col 13| string provide the name of the secret has 4 occurrences, make it a constant (goconst)
command/secret/remove.go|78 col 13| string format the output in json, spew or yaml has 3 occurrences, make it a constant (goconst)
command/secret/update.go|23 col 15| string secret has 5 occurrences, make it a constant (goconst)
command/secret/update.go|35 col 13| string provide the organization for the secret has 5 occurrences, make it a constant (goconst)
command/secret/update.go|41 col 13| string provide the repository for the secret has 5 occurrences, make it a constant (goconst)
command/secret/update.go|50 col 13| string provide the engine that stores the secret has 5 occurrences, make it a constant (goconst)
command/secret/update.go|57 col 13| string provide the type of secret being stored has 5 occurrences, make it a constant (goconst)
command/secret/update.go|62 col 13| string team has 5 occurrences, make it a constant (goconst)
command/secret/update.go|64 col 13| string provide the team for the secret has 5 occurrences, make it a constant (goconst)
command/secret/update.go|68 col 13| string name has 4 occurrences, make it a constant (goconst)
command/secret/update.go|70 col 13| string provide the name of the secret has 4 occurrences, make it a constant (goconst)
command/secret/update.go|101 col 13| string true has 4 occurrences, make it a constant (goconst)
command/secret/view.go|22 col 15| string secret has 5 occurrences, make it a constant (goconst)
command/secret/view.go|34 col 13| string provide the organization for the secret has 5 occurrences, make it a constant (goconst)
command/secret/view.go|40 col 13| string provide the repository for the secret has 5 occurrences, make it a constant (goconst)
command/secret/view.go|49 col 13| string provide the engine that stores the secret has 5 occurrences, make it a constant (goconst)
command/secret/view.go|56 col 13| string provide the type of secret being stored has 5 occurrences, make it a constant (goconst)
command/secret/view.go|61 col 13| string team has 5 occurrences, make it a constant (goconst)
command/secret/view.go|63 col 13| string provide the team for the secret has 5 occurrences, make it a constant (goconst)
command/secret/view.go|67 col 13| string name has 4 occurrences, make it a constant (goconst)
command/secret/view.go|69 col 13| string provide the name of the secret has 4 occurrences, make it a constant (goconst)
command/secret/view.go|78 col 13| string format the output in json, spew or yaml has 3 occurrences, make it a constant (goconst)
Filtered Findings (0)
Annotations
Check failure on line 26 in action/build/validate.go
github-actions / golangci
[golangci] action/build/validate.go#L26
string `restart` has 8 occurrences, make it a constant (goconst)
Raw output
action/build/validate.go:26:17: string `restart` has 8 occurrences, make it a constant (goconst)
if c.Action == "restart" || c.Action == "view" {
^
Check failure on line 192 in action/config/load.go
github-actions / golangci
[golangci] action/config/load.go#L192
string `true` has 7 occurrences, make it a constant (goconst)
Raw output
action/config/load.go:192:9: string `true` has 7 occurrences, make it a constant (goconst)
c := "true"
^
Check failure on line 150 in action/config/update.go
github-actions / golangci
[golangci] action/config/update.go#L150
string `true` has 7 occurrences, make it a constant (goconst)
Raw output
action/config/update.go:150:16: string `true` has 7 occurrences, make it a constant (goconst)
if value == "true" {
^
Check failure on line 22 in action/config/validate.go
github-actions / golangci
[golangci] action/config/validate.go#L22
string `generate` has 13 occurrences, make it a constant (goconst)
Raw output
action/config/validate.go:22:17: string `generate` has 13 occurrences, make it a constant (goconst)
if c.Action != "generate" && !c.UseMemMap {
^
Check failure on line 15 in action/dashboard/validate.go
github-actions / golangci
[golangci] action/dashboard/validate.go#L15
string `add` has 3 occurrences, make it a constant (goconst)
Raw output
action/dashboard/validate.go:15:17: string `add` has 3 occurrences, make it a constant (goconst)
if c.Action == "add" {
^
Check failure on line 23 in action/dashboard/validate.go
github-actions / golangci
[golangci] action/dashboard/validate.go#L23
string `update` has 6 occurrences, make it a constant (goconst)
Raw output
action/dashboard/validate.go:23:17: string `update` has 6 occurrences, make it a constant (goconst)
if c.Action == "update" || c.Action == "view" {
^
Check failure on line 26 in action/deployment/validate.go
github-actions / golangci
[golangci] action/deployment/validate.go#L26
string `add` has 9 occurrences, make it a constant (goconst)
Raw output
action/deployment/validate.go:26:17: string `add` has 9 occurrences, make it a constant (goconst)
if c.Action == "add" {
^
Check failure on line 39 in action/deployment/validate.go
github-actions / golangci
[golangci] action/deployment/validate.go#L39
string `view` has 11 occurrences, make it a constant (goconst)
Raw output
action/deployment/validate.go:39:17: string `view` has 11 occurrences, make it a constant (goconst)
if c.Action == "view" {
^
Check failure on line 26 in action/hook/validate.go
github-actions / golangci
[golangci] action/hook/validate.go#L26
string `view` has 11 occurrences, make it a constant (goconst)
Raw output
action/hook/validate.go:26:17: string `view` has 11 occurrences, make it a constant (goconst)
if c.Action == "view" {
^
Check failure on line 18 in action/repo/validate.go
github-actions / golangci
[golangci] action/repo/validate.go#L18
string `get` has 8 occurrences, make it a constant (goconst)
Raw output
action/repo/validate.go:18:17: string `get` has 8 occurrences, make it a constant (goconst)
if c.Action != "get" {
^
Check failure on line 34 in action/repo/validate.go
github-actions / golangci
[golangci] action/repo/validate.go#L34
string `add` has 8 occurrences, make it a constant (goconst)
Raw output
action/repo/validate.go:34:17: string `add` has 8 occurrences, make it a constant (goconst)
if c.Action == "add" || c.Action == "update" {
^
Check failure on line 146 in action/secret/add.go
github-actions / golangci
[golangci] action/secret/add.go#L146
string `add` has 24 occurrences, make it a constant (goconst)
Raw output
action/secret/add.go:146:24: string `add` has 24 occurrences, make it a constant (goconst)
Action: "add",
^
Check failure on line 152 in action/secret/update.go
github-actions / golangci
[golangci] action/secret/update.go#L152
string `update` has 22 occurrences, make it a constant (goconst)
Raw output
action/secret/update.go:152:24: string `update` has 22 occurrences, make it a constant (goconst)
Action: "update",
^
Check failure on line 69 in action/secret/validate.go
github-actions / golangci
[golangci] action/secret/validate.go#L69
string `remove` has 9 occurrences, make it a constant (goconst)
Raw output
action/secret/validate.go:69:17: string `remove` has 9 occurrences, make it a constant (goconst)
if c.Action == "remove" || c.Action == "update" || c.Action == "view" {
^
Check failure on line 77 in action/secret/validate.go
github-actions / golangci
[golangci] action/secret/validate.go#L77
string `add` has 24 occurrences, make it a constant (goconst)
Raw output
action/secret/validate.go:77:17: string `add` has 24 occurrences, make it a constant (goconst)
if c.Action == "add" {
^
Check failure on line 31 in action/service/validate.go
github-actions / golangci
[golangci] action/service/validate.go#L31
string `view` has 12 occurrences, make it a constant (goconst)
Raw output
action/service/validate.go:31:17: string `view` has 12 occurrences, make it a constant (goconst)
if c.Action == "view" {
^
Check failure on line 31 in action/step/validate.go
github-actions / golangci
[golangci] action/step/validate.go#L31
string `view` has 12 occurrences, make it a constant (goconst)
Raw output
action/step/validate.go:31:17: string `view` has 12 occurrences, make it a constant (goconst)
if c.Action == "view" {
^
Check failure on line 35 in command/config/update.go
github-actions / golangci
[golangci] command/config/update.go#L35
string `access token used for communication with the Vela server` has 3 occurrences, make it a constant (goconst)
Raw output
command/config/update.go:35:13: string `access token used for communication with the Vela server` has 3 occurrences, make it a constant (goconst)
Usage: "access token used for communication with the Vela server",
^
Check failure on line 101 in command/secret/add.go
github-actions / golangci
[golangci] command/secret/add.go#L101
string `true` has 4 occurrences, make it a constant (goconst)
Raw output
command/secret/add.go:101:13: string `true` has 4 occurrences, make it a constant (goconst)
Value: "true",
^
Check failure on line 123 in command/secret/add.go
github-actions / golangci
[golangci] command/secret/add.go#L123
string `format the output in json, spew or yaml` has 3 occurrences, make it a constant (goconst)
Raw output
command/secret/add.go:123:13: string `format the output in json, spew or yaml` has 3 occurrences, make it a constant (goconst)
Usage: "format the output in json, spew or yaml",
^
Check failure on line 22 in command/secret/remove.go
github-actions / golangci
[golangci] command/secret/remove.go#L22
string `secret` has 5 occurrences, make it a constant (goconst)
Raw output
command/secret/remove.go:22:15: string `secret` has 5 occurrences, make it a constant (goconst)
Name: "secret",
^
Check failure on line 34 in command/secret/remove.go
github-actions / golangci
[golangci] command/secret/remove.go#L34
string `provide the organization for the secret` has 5 occurrences, make it a constant (goconst)
Raw output
command/secret/remove.go:34:13: string `provide the organization for the secret` has 5 occurrences, make it a constant (goconst)
Usage: "provide the organization for the secret",
^
Check failure on line 40 in command/secret/remove.go
github-actions / golangci
[golangci] command/secret/remove.go#L40
string `provide the repository for the secret` has 5 occurrences, make it a constant (goconst)
Raw output
command/secret/remove.go:40:13: string `provide the repository for the secret` has 5 occurrences, make it a constant (goconst)
Usage: "provide the repository for the secret",
^
Check failure on line 49 in command/secret/remove.go
github-actions / golangci
[golangci] command/secret/remove.go#L49
string `provide the engine that stores the secret` has 5 occurrences, make it a constant (goconst)
Raw output
command/secret/remove.go:49:13: string `provide the engine that stores the secret` has 5 occurrences, make it a constant (goconst)
Usage: "provide the engine that stores the secret",
^
Check failure on line 56 in command/secret/remove.go
github-actions / golangci
[golangci] command/secret/remove.go#L56
string `provide the type of secret being stored` has 5 occurrences, make it a constant (goconst)
Raw output
command/secret/remove.go:56:13: string `provide the type of secret being stored` has 5 occurrences, make it a constant (goconst)
Usage: "provide the type of secret being stored",
^