fix(deps): update all non-major dependencies - #1470
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (53)
api/types/build.go|91 col 3| string VELA_BUILD_APPROVED_AT has 7 occurrences, make it a constant (goconst)
api/types/build.go|92 col 3| string VELA_BUILD_APPROVED_BY has 7 occurrences, make it a constant (goconst)
api/types/build.go|93 col 3| string VELA_BUILD_AUTHOR has 7 occurrences, make it a constant (goconst)
api/types/build.go|94 col 3| string VELA_BUILD_AUTHOR_EMAIL has 7 occurrences, make it a constant (goconst)
api/types/build.go|95 col 3| string VELA_BUILD_BASE_REF has 7 occurrences, make it a constant (goconst)
api/types/build.go|96 col 3| string VELA_BUILD_BRANCH has 7 occurrences, make it a constant (goconst)
api/types/build.go|97 col 3| string VELA_BUILD_CLONE has 7 occurrences, make it a constant (goconst)
api/types/build.go|98 col 3| string VELA_BUILD_COMMIT has 7 occurrences, make it a constant (goconst)
api/types/build.go|99 col 3| string VELA_BUILD_CREATED has 7 occurrences, make it a constant (goconst)
api/types/build.go|100 col 3| string VELA_BUILD_DISTRIBUTION has 7 occurrences, make it a constant (goconst)
api/types/build.go|101 col 3| string VELA_BUILD_ENQUEUED has 7 occurrences, make it a constant (goconst)
api/types/build.go|102 col 3| string VELA_BUILD_EVENT has 27 occurrences, make it a constant (goconst)
api/types/build.go|103 col 3| string VELA_BUILD_EVENT_ACTION has 11 occurrences, make it a constant (goconst)
api/types/build.go|104 col 3| string VELA_BUILD_HOST has 7 occurrences, make it a constant (goconst)
api/types/build.go|105 col 3| string VELA_BUILD_MESSAGE has 7 occurrences, make it a constant (goconst)
api/types/build.go|106 col 3| string VELA_BUILD_PARENT has 7 occurrences, make it a constant (goconst)
api/types/build.go|107 col 3| string VELA_BUILD_REF has 7 occurrences, make it a constant (goconst)
api/types/build.go|108 col 3| string VELA_BUILD_ROUTE has 7 occurrences, make it a constant (goconst)
api/types/build.go|109 col 3| string VELA_BUILD_RUNTIME has 7 occurrences, make it a constant (goconst)
api/types/build.go|110 col 3| string VELA_BUILD_SENDER has 7 occurrences, make it a constant (goconst)
api/types/build.go|111 col 3| string VELA_BUILD_SENDER_SCM_ID has 7 occurrences, make it a constant (goconst)
api/types/build.go|112 col 3| string VELA_BUILD_STARTED has 7 occurrences, make it a constant (goconst)
api/types/build.go|113 col 3| string VELA_BUILD_SOURCE has 7 occurrences, make it a constant (goconst)
api/types/build.go|114 col 3| string VELA_BUILD_STATUS has 7 occurrences, make it a constant (goconst)
api/types/build.go|115 col 3| string VELA_BUILD_TITLE has 7 occurrences, make it a constant (goconst)
api/types/build.go|116 col 3| string VELA_BUILD_WORKSPACE has 7 occurrences, make it a constant (goconst)
api/types/build.go|119 col 3| string BUILD_AUTHOR has 7 occurrences, make it a constant (goconst)
api/types/build.go|120 col 3| string BUILD_AUTHOR_EMAIL has 7 occurrences, make it a constant (goconst)
api/types/build.go|121 col 3| string BUILD_BASE_REF has 7 occurrences, make it a constant (goconst)
api/types/build.go|122 col 3| string BUILD_BRANCH has 7 occurrences, make it a constant (goconst)
api/types/build.go|123 col 3| string BUILD_CLONE has 7 occurrences, make it a constant (goconst)
api/types/build.go|124 col 3| string BUILD_COMMIT has 7 occurrences, make it a constant (goconst)
api/types/build.go|125 col 3| string BUILD_CREATED has 7 occurrences, make it a constant (goconst)
api/types/build.go|126 col 3| string BUILD_ENQUEUED has 7 occurrences, make it a constant (goconst)
api/types/build.go|127 col 3| string BUILD_EVENT has 7 occurrences, make it a constant (goconst)
api/types/build.go|128 col 3| string BUILD_HOST has 7 occurrences, make it a constant (goconst)
api/types/build.go|129 col 3| string BUILD_MESSAGE has 7 occurrences, make it a constant (goconst)
api/types/build.go|130 col 3| string BUILD_PARENT has 7 occurrences, make it a constant (goconst)
api/types/build.go|131 col 3| string BUILD_REF has 7 occurrences, make it a constant (goconst)
api/types/build.go|132 col 3| string BUILD_SENDER has 7 occurrences, make it a constant (goconst)
api/types/build.go|133 col 3| string BUILD_STARTED has 7 occurrences, make it a constant (goconst)
api/types/build.go|134 col 3| string BUILD_SOURCE has 7 occurrences, make it a constant (goconst)
api/types/build.go|135 col 3| string BUILD_STATUS has 7 occurrences, make it a constant (goconst)
api/types/build.go|136 col 3| string BUILD_TITLE has 7 occurrences, make it a constant (goconst)
api/types/build.go|137 col 3| string BUILD_WORKSPACE has 7 occurrences, make it a constant (goconst)
api/types/service.go|69 col 3| string VELA_SERVICE_CREATED has 3 occurrences, make it a constant (goconst)
api/types/service.go|70 col 3| string VELA_SERVICE_DISTRIBUTION has 3 occurrences, make it a constant (goconst)
compiler/types/pipeline/ruleset.go|214 col 54| string regex has 8 occurrences, make it a constant (goconst)
compiler/types/raw/map.go|153 col 12| string string has 4 occurrences, make it a constant (goconst)
compiler/types/raw/slice.go|86 col 11| string string has 4 occurrences, make it a constant (goconst)
router/middleware/auth/auth_test.go|20 col 32| G124: http.Cookie missing or has insecure Secure, HttpOnly, or SameSite attribute (gosec)
router/middleware/user/user_test.go|82 col 40| G124: http.Cookie missing or has insecure Secure, HttpOnly, or SameSite attribute (gosec)
router/middleware/user/user_test.go|312 col 40| G124: http.Cookie missing or has insecure Secure, HttpOnly, or SameSite attribute (gosec)
Filtered Findings (0)
Annotations
Check failure on line 91 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L91
string `VELA_BUILD_APPROVED_AT` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:91:3: string `VELA_BUILD_APPROVED_AT` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_APPROVED_AT": ToString(b.GetApprovedAt()),
^
Check failure on line 92 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L92
string `VELA_BUILD_APPROVED_BY` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:92:3: string `VELA_BUILD_APPROVED_BY` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_APPROVED_BY": ToString(b.GetApprovedBy()),
^
Check failure on line 93 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L93
string `VELA_BUILD_AUTHOR` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:93:3: string `VELA_BUILD_AUTHOR` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_AUTHOR": ToString(b.GetAuthor()),
^
Check failure on line 94 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L94
string `VELA_BUILD_AUTHOR_EMAIL` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:94:3: string `VELA_BUILD_AUTHOR_EMAIL` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_AUTHOR_EMAIL": ToString(b.GetEmail()),
^
Check failure on line 95 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L95
string `VELA_BUILD_BASE_REF` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:95:3: string `VELA_BUILD_BASE_REF` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_BASE_REF": ToString(b.GetBaseRef()),
^
Check failure on line 96 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L96
string `VELA_BUILD_BRANCH` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:96:3: string `VELA_BUILD_BRANCH` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_BRANCH": ToString(b.GetBranch()),
^
Check failure on line 97 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L97
string `VELA_BUILD_CLONE` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:97:3: string `VELA_BUILD_CLONE` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_CLONE": ToString(b.GetClone()),
^
Check failure on line 98 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L98
string `VELA_BUILD_COMMIT` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:98:3: string `VELA_BUILD_COMMIT` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_COMMIT": ToString(b.GetCommit()),
^
Check failure on line 99 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L99
string `VELA_BUILD_CREATED` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:99:3: string `VELA_BUILD_CREATED` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_CREATED": ToString(b.GetCreated()),
^
Check failure on line 100 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L100
string `VELA_BUILD_DISTRIBUTION` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:100:3: string `VELA_BUILD_DISTRIBUTION` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_DISTRIBUTION": ToString(b.GetDistribution()),
^
Check failure on line 101 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L101
string `VELA_BUILD_ENQUEUED` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:101:3: string `VELA_BUILD_ENQUEUED` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_ENQUEUED": ToString(b.GetEnqueued()),
^
Check failure on line 102 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L102
string `VELA_BUILD_EVENT` has 27 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:102:3: string `VELA_BUILD_EVENT` has 27 occurrences, make it a constant (goconst)
"VELA_BUILD_EVENT": ToString(b.GetEvent()),
^
Check failure on line 103 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L103
string `VELA_BUILD_EVENT_ACTION` has 11 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:103:3: string `VELA_BUILD_EVENT_ACTION` has 11 occurrences, make it a constant (goconst)
"VELA_BUILD_EVENT_ACTION": ToString(b.GetEventAction()),
^
Check failure on line 104 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L104
string `VELA_BUILD_HOST` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:104:3: string `VELA_BUILD_HOST` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_HOST": ToString(b.GetHost()),
^
Check failure on line 105 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L105
string `VELA_BUILD_MESSAGE` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:105:3: string `VELA_BUILD_MESSAGE` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_MESSAGE": ToString(b.GetMessage()),
^
Check failure on line 106 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L106
string `VELA_BUILD_PARENT` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:106:3: string `VELA_BUILD_PARENT` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_PARENT": ToString(b.GetParent()),
^
Check failure on line 107 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L107
string `VELA_BUILD_REF` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:107:3: string `VELA_BUILD_REF` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_REF": ToString(b.GetRef()),
^
Check failure on line 108 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L108
string `VELA_BUILD_ROUTE` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:108:3: string `VELA_BUILD_ROUTE` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_ROUTE": ToString(b.GetRoute()),
^
Check failure on line 109 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L109
string `VELA_BUILD_RUNTIME` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:109:3: string `VELA_BUILD_RUNTIME` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_RUNTIME": ToString(b.GetRuntime()),
^
Check failure on line 110 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L110
string `VELA_BUILD_SENDER` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:110:3: string `VELA_BUILD_SENDER` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_SENDER": ToString(b.GetSender()),
^
Check failure on line 111 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L111
string `VELA_BUILD_SENDER_SCM_ID` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:111:3: string `VELA_BUILD_SENDER_SCM_ID` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_SENDER_SCM_ID": ToString(b.GetSenderSCMID()),
^
Check failure on line 112 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L112
string `VELA_BUILD_STARTED` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:112:3: string `VELA_BUILD_STARTED` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_STARTED": ToString(b.GetStarted()),
^
Check failure on line 113 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L113
string `VELA_BUILD_SOURCE` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:113:3: string `VELA_BUILD_SOURCE` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_SOURCE": ToString(b.GetSource()),
^
Check failure on line 114 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L114
string `VELA_BUILD_STATUS` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:114:3: string `VELA_BUILD_STATUS` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_STATUS": ToString(b.GetStatus()),
^
Check failure on line 115 in api/types/build.go
github-actions / golangci
[golangci] api/types/build.go#L115
string `VELA_BUILD_TITLE` has 7 occurrences, make it a constant (goconst)
Raw output
api/types/build.go:115:3: string `VELA_BUILD_TITLE` has 7 occurrences, make it a constant (goconst)
"VELA_BUILD_TITLE": ToString(b.GetTitle()),
^