Skip to content

cmd/relnot: Release notes generator #2570

cmd/relnot: Release notes generator

cmd/relnot: Release notes generator #2570

Triggered via pull request September 29, 2023 16:02
Status Failure
Total duration 2m 49s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
lint: cmd/relnot/main.go#L32
Error return value of `f.Close` is not checked (errcheck)
lint: cmd/relnot/main.go#L82
Error return value of `os.Remove` is not checked (errcheck)
lint: cmd/relnot/main.go#L83
Error return value of `ftemp.Close` is not checked (errcheck)
lint: cmd/relnot/main.go#L91
Error return value of `joiner.Write` is not checked (errcheck)
lint: cmd/relnot/main.go#L103
Error return value of `joiner.Write` is not checked (errcheck)
lint: cmd/relnot/main.go#L106
Error return value of `joiner.Write` is not checked (errcheck)
lint: cmd/relnot/main.go#L113
Error return value of `joiner.Flush` is not checked (errcheck)
lint: cmd/relnot/main.go#L114
Error return value of `ftemp.Close` is not checked (errcheck)
lint: cmd/relnot/main.go#L78
use of `os.CreateTemp` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" (forbidigo)
lint: cmd/relnot/main.go#L116
use of `os.Rename` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" (forbidigo)
lint: cmd/relnot/change.go#L1
package-comments: should have a package comment (revive)
lint: cmd/relnot/change.go#L20
exported: exported type Change should have comment or be unexported (revive)
lint: cmd/relnot/change.go#L29
exported: exported method Change.Format should have comment or be unexported (revive)
lint: cmd/relnot/main.go#L200
unused-parameter: parameter 'path' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/relnot/type.go#L3
exported: comment on exported type PullType should be of the form "PullType ..." (with optional leading article) (revive)
lint: cmd/relnot/main.go#L134
exported: exported type Pull should have comment or be unexported (revive)
lint: cmd/relnot/type.go#L7
exported: exported const Undefined should have comment (or a comment on this block) or be unexported (revive)