Skip to content

enhance(secrets)!: use the same allow_events system as repos for secrets #5259

enhance(secrets)!: use the same allow_events system as repos for secrets

enhance(secrets)!: use the same allow_events system as repos for secrets #5259

Triggered via pull request January 5, 2024 21:48
Status Success
Total duration 1m 46s
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: compiler/registry/github/github.go#L41
string `/api/v3/` has 5 occurrences, make it a constant (goconst)
full-review: mock/server/authentication.go#L41
string `error` has 4 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/log/update.go#L16
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
full-review: database/log/count_build.go#L13
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
full-review: database/log/delete.go#L14
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: mock/server/authentication.go#L41
string `error` has 4 occurrences, make it a constant (goconst)
diff-review: compiler/registry/github/github.go#L41
string `/api/v3/` has 5 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/secret/count_org.go#L13
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
diff-review: database/secret/index.go#L35
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
diff-review: database/secret/count_repo.go#L14
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)