Fix GetCommitStatuses
(#28787)
#12977
pull-compliance.yml
on: pull_request
files-changed
/
detect
8s
lint-backend
4m 20s
lint-templates
0s
lint-yaml
0s
lint-swagger
0s
lint-go-windows
4m 28s
lint-go-gogit
4m 18s
checks-backend
2m 45s
frontend
0s
backend
1m 48s
docs
0s
actions
0s
Annotations
36 errors
backend:
routers/api/v1/repo/status.go#L198
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
backend:
routers/api/v1/repo/status.go#L198
not enough arguments in call to db.FindAndCount[git_model.CommitStatus]
|
backend
Process completed with exit code 1.
|
checks-backend:
routers/api/v1/repo/status.go#L204
not enough arguments in call to db.FindAndCount[git_model.CommitStatus]
|
checks-backend:
routers/api/v1/repo/status.go#L198
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
checks-backend
Process completed with exit code 2.
|
lint-backend:
routers/api/v1/user/key.go#L17
could not import code.gitea.io/gitea/routers/api/v1/repo (-: # code.gitea.io/gitea/routers/api/v1/repo
|
lint-backend:
routers/api/v1/repo/status.go#L198
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
lint-backend:
routers/api/v1/repo/status.go#L198
not enough arguments in call to db.FindAndCount[git_model.CommitStatus]
|
lint-backend:
routers/api/v1/admin/repo.go#L10
could not import code.gitea.io/gitea/routers/api/v1/repo (-: # code.gitea.io/gitea/routers/api/v1/repo
|
lint-backend:
routers/api/v1/repo/status.go#L198
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
lint-backend:
routers/api/v1/repo/status.go#L198
not enough arguments in call to db.FindAndCount[git_model.CommitStatus]
|
lint-backend:
routers/api/v1/api.go#L92
could not import code.gitea.io/gitea/routers/api/v1/repo (-: # code.gitea.io/gitea/routers/api/v1/repo
|
lint-backend:
routers/api/v1/repo/status.go#L198
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
lint-backend:
routers/api/v1/repo/status.go#L198
not enough arguments in call to db.FindAndCount[git_model.CommitStatus]
|
lint-backend:
models/git/commit_status_test.go#L25
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
lint-go-gogit:
routers/api/v1/user/key.go#L17
could not import code.gitea.io/gitea/routers/api/v1/repo (-: # code.gitea.io/gitea/routers/api/v1/repo
|
lint-go-gogit:
routers/api/v1/repo/status.go#L198
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
lint-go-gogit:
routers/api/v1/repo/status.go#L198
not enough arguments in call to db.FindAndCount[git_model.CommitStatus]
|
lint-go-gogit:
routers/api/v1/admin/repo.go#L10
could not import code.gitea.io/gitea/routers/api/v1/repo (-: # code.gitea.io/gitea/routers/api/v1/repo
|
lint-go-gogit:
routers/api/v1/repo/status.go#L198
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
lint-go-gogit:
routers/api/v1/repo/status.go#L198
not enough arguments in call to db.FindAndCount[git_model.CommitStatus]
|
lint-go-gogit:
routers/api/v1/api.go#L92
could not import code.gitea.io/gitea/routers/api/v1/repo (-: # code.gitea.io/gitea/routers/api/v1/repo
|
lint-go-gogit:
routers/api/v1/repo/status.go#L198
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
lint-go-gogit:
routers/api/v1/repo/status.go#L198
not enough arguments in call to db.FindAndCount[git_model.CommitStatus]
|
lint-go-gogit:
models/git/commit_status_test.go#L25
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
lint-go-windows:
routers/api/v1/user/key.go#L17
could not import code.gitea.io/gitea/routers/api/v1/repo (-: # code.gitea.io/gitea/routers/api/v1/repo
|
lint-go-windows:
routers/api/v1/repo/status.go#L198
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
lint-go-windows:
routers/api/v1/repo/status.go#L198
not enough arguments in call to db.FindAndCount[git_model.CommitStatus]
|
lint-go-windows:
routers/api/v1/admin/repo.go#L10
could not import code.gitea.io/gitea/routers/api/v1/repo (-: # code.gitea.io/gitea/routers/api/v1/repo
|
lint-go-windows:
routers/api/v1/repo/status.go#L198
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
lint-go-windows:
routers/api/v1/repo/status.go#L198
not enough arguments in call to db.FindAndCount[git_model.CommitStatus]
|
lint-go-windows:
routers/api/v1/api.go#L92
could not import code.gitea.io/gitea/routers/api/v1/repo (-: # code.gitea.io/gitea/routers/api/v1/repo
|
lint-go-windows:
routers/api/v1/repo/status.go#L198
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|
lint-go-windows:
routers/api/v1/repo/status.go#L198
not enough arguments in call to db.FindAndCount[git_model.CommitStatus]
|
lint-go-windows:
models/git/commit_status_test.go#L25
assignment mismatch: 3 variables but db.FindAndCount[git_model.CommitStatus] returns 2 values
|