Skip to content

feat: review command #405

feat: review command

feat: review command #405

Triggered via pull request August 3, 2023 12:53
Status Success
Total duration 1m 30s
Artifacts

linting.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
golangci-lint: internal/scm/pullrequest.go#L105
[golangci] reported by reviewdog 🐶 File is not `gofmt`-ed with `-s` (gofmt) Raw Output: internal/scm/pullrequest.go:105: File is not `gofmt`-ed with `-s` (gofmt) )
golangci-lint: internal/scm/gitea/gitea.go#L493
[golangci] reported by reviewdog 🐶 File is not `gofmt`-ed with `-s` (gofmt) Raw Output: internal/scm/gitea/gitea.go:493: File is not `gofmt`-ed with `-s` (gofmt) var state gitea.ReviewStateType
golangci-lint: internal/scm/github/github.go#L641
[golangci] reported by reviewdog 🐶 File is not `gofmt`-ed with `-s` (gofmt) Raw Output: internal/scm/github/github.go:641: File is not `gofmt`-ed with `-s` (gofmt) var event string
golangci-lint: tests/vcmock/vcmock.go#L103
[golangci] reported by reviewdog 🐶 unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive) Raw Output: tests/vcmock/vcmock.go:103:46: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive) func (vc *VersionController) DiffPullRequest(ctx context.Context, pullReq scm.PullRequest) (string, error) { ^
golangci-lint: tests/vcmock/vcmock.go#L108
[golangci] reported by reviewdog 🐶 unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive) Raw Output: tests/vcmock/vcmock.go:108:56: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive) func (vc *VersionController) IsPullRequestApprovedByMe(ctx context.Context, pullReq scm.PullRequest) (bool, error) { ^
golangci-lint: tests/vcmock/vcmock.go#L113
[golangci] reported by reviewdog 🐶 unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive) Raw Output: tests/vcmock/vcmock.go:113:48: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive) func (vc *VersionController) ReviewPullRequest(ctx context.Context, pullReq scm.PullRequest, action scm.Review, comment string) error { ^