Skip to content

fix(api/list-org-repos): ensure active flag is boolean #5326

fix(api/list-org-repos): ensure active flag is boolean

fix(api/list-org-repos): ensure active flag is boolean #5326

Triggered via pull request January 18, 2024 17:53
Status Success
Total duration 2m 1s
Artifacts

reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
full-review: queue/redis/redis_test.go#L95
`_steps` is unused (deadcode)
full-review: mock/server/authentication.go#L41
string `error` has 4 occurrences, make it a constant (goconst)
full-review: compiler/registry/github/github.go#L41
string `/api/v3/` has 5 occurrences, make it a constant (goconst)
full-review: cmd/vela-server/schedule.go#L138
cyclomatic complexity 31 of func `processSchedule` is high (> 30) (gocyclo)
full-review: queue/redis/route_test.go#L62
G601: Implicit memory aliasing in for loop. (gosec)
full-review: compiler/native/compile_test.go#L1818
G601: Implicit memory aliasing in for loop. (gosec)
full-review: compiler/native/compile_test.go#L3129
G601: Implicit memory aliasing in for loop. (gosec)
full-review: database/hook/get_webhook.go#L14
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
full-review: database/hook/last_repo.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
full-review: database/hook/table.go#L60
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
diff-review: queue/redis/redis_test.go#L95
`_steps` is unused (deadcode)
diff-review: compiler/registry/github/github.go#L41
string `/api/v3/` has 5 occurrences, make it a constant (goconst)
diff-review: mock/server/authentication.go#L41
string `error` has 4 occurrences, make it a constant (goconst)
diff-review: cmd/vela-server/schedule.go#L138
cyclomatic complexity 31 of func `processSchedule` is high (> 30) (gocyclo)
diff-review: queue/redis/route_test.go#L62
G601: Implicit memory aliasing in for loop. (gosec)
diff-review: compiler/native/compile_test.go#L1818
G601: Implicit memory aliasing in for loop. (gosec)
diff-review: compiler/native/compile_test.go#L3129
G601: Implicit memory aliasing in for loop. (gosec)
diff-review: database/worker/get_hostname.go#L15
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
diff-review: database/worker/create.go#L15
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
diff-review: database/worker/delete.go#L15
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)