Add PullRequestCommenter provider trait #8068
Annotations
10 errors and 1 warning
golangci-lint:
internal/engine/actions/actions.go#L19
could not import github.com/mindersec/minder/internal/engine/actions/alert (-: # github.com/mindersec/minder/internal/engine/actions/alert
|
golangci-lint:
internal/engine/actions/alert/alert.go#L63
cannot use client (variable of type "github.com/mindersec/minder/pkg/providers/v1".GitHub) as "github.com/mindersec/minder/pkg/providers/v1".PullRequestCommenter value in argument to pull_request_comment.NewPullRequestCommentAlert: "github.com/mindersec/minder/pkg/providers/v1".GitHub does not implement "github.com/mindersec/minder/pkg/providers/v1".PullRequestCommenter (missing method CommentOnPullRequest)) (typecheck)
|
golangci-lint:
internal/engine/actions/alert/alert.go#L63
cannot use client (variable of type "github.com/mindersec/minder/pkg/providers/v1".GitHub) as "github.com/mindersec/minder/pkg/providers/v1".PullRequestCommenter value in argument to pull_request_comment.NewPullRequestCommentAlert: "github.com/mindersec/minder/pkg/providers/v1".GitHub does not implement "github.com/mindersec/minder/pkg/providers/v1".PullRequestCommenter (missing method CommentOnPullRequest) (typecheck)
|
golangci-lint:
internal/engine/actions/alert/pull_request_comment/pull_request_comment_test.go#L50
mockGitHub.EXPECT().CreateReview undefined (type *mock_github.MockGitHubMockRecorder has no field or method CreateReview)
|
golangci-lint:
internal/engine/actions/alert/pull_request_comment/pull_request_comment_test.go#L61
mockGitHub.EXPECT().CreateReview undefined (type *mock_github.MockGitHubMockRecorder has no field or method CreateReview)
|
golangci-lint:
internal/engine/actions/alert/pull_request_comment/pull_request_comment_test.go#L73
mockGitHub.EXPECT().DismissReview undefined (type *mock_github.MockGitHubMockRecorder has no field or method DismissReview)
|
golangci-lint:
internal/engine/actions/alert/pull_request_comment/pull_request_comment_test.go#L99
cannot use mockClient (variable of type *mock_github.MockGitHub) as "github.com/mindersec/minder/pkg/providers/v1".PullRequestCommenter value in argument to NewPullRequestCommentAlert: *mock_github.MockGitHub does not implement "github.com/mindersec/minder/pkg/providers/v1".PullRequestCommenter (missing method CommentOnPullRequest) (typecheck)
|
golangci-lint:
internal/engine/eval/eval.go#L16
could not import github.com/mindersec/minder/internal/engine/eval/trusty (-: # github.com/mindersec/minder/internal/engine/eval/trusty
|
golangci-lint:
internal/engine/eval/trusty/actions.go#L244
sph.cli.CreateReview undefined (type "github.com/mindersec/minder/pkg/providers/v1".GitHub has no field or method CreateReview)) (typecheck)
|
golangci-lint:
internal/engine/eval/eval.go#L17
could not import github.com/mindersec/minder/internal/engine/eval/vulncheck (-: # github.com/mindersec/minder/internal/engine/eval/vulncheck
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading