Skip to content

feat: per-task hooks #67

feat: per-task hooks

feat: per-task hooks #67

Triggered via push June 8, 2024 13:11
Status Success
Total duration 2m 2s
Artifacts

codeql.yml

on: push
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors
analyze (go): core/task/command.go#L93
Error return value of `proc.Start` is not checked (errcheck)
analyze (go): config/validators.go#L56
cyclomatic complexity 18 of func `(*Task).Validate` is high (> 15) (gocyclo)
analyze (go): core/task/command.go#L82
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
analyze (go): core/task/get.go#L79
response body must be closed (bodyclose)
analyze (go): core/task/post.go#L83
response body must be closed (bodyclose)
analyze (go): config/validators.go#L29
S1002: should omit comparison to bool constant, can be simplified to `c.Disabled` (gosimple)
analyze (go): config/validators.go#L128
S1002: should omit comparison to bool constant, can be simplified to `s.OnInit` (gosimple)
analyze (go): core/task/command.go#L95
S1030: should use res.String() instead of string(res.Bytes()) (gosimple)
analyze (go): core/task/command.go#L102
naked return in func `Execute` with 43 lines of code (nakedret)
analyze (go): core/task/get.go#L73
naked return in func `Execute` with 51 lines of code (nakedret)