Skip to content

fix(scm): process reopened action for pull request event #5052

fix(scm): process reopened action for pull request event

fix(scm): process reopened action for pull request event #5052

Triggered via pull request November 7, 2023 17:40
Status Failure
Total duration 1m 44s
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: 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: cmd/vela-server/schedule.go#L106
`occurence` is a misspelling of `occurrence` (misspell)
full-review: database/schedule/table.go#L54
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
full-review: database/schedule/create.go#L16
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
full-review: database/schedule/get_repo.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: 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: 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: cmd/vela-server/schedule.go#L106
`occurence` is a misspelling of `occurrence` (misspell)
diff-review: database/schedule/update.go#L15
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
diff-review: database/schedule/count.go#L11
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
diff-review: database/schedule/delete.go#L14
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)