Skip to content

feat(events): add PR merged and PR closed webhook events #6886

feat(events): add PR merged and PR closed webhook events

feat(events): add PR merged and PR closed webhook events #6886

Triggered via pull request April 4, 2025 14:52
Status Success
Total duration 1m 57s
Artifacts

reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
full-review: api/repo/repair.go#L12
could not import github.com/go-vela/server/api/webhook (-: # github.com/go-vela/server/api/webhook
full-review: api/webhook/post.go#L196
cannot use repo (variable of type *"github.com/go-vela/server/api/types".Repo) as []byte value in argument to scm.FromContext(c).VerifyWebhook
full-review: api/webhook/post.go#L228
repo redeclared in this block
full-review: api/webhook/post.go#L183
other declaration of repo) (typecheck)
full-review: api/webhook/post.go#L196
cannot use repo (variable of type *"github.com/go-vela/server/api/types".Repo) as []byte value in argument to scm.FromContext(c).VerifyWebhook
full-review: api/webhook/post.go#L228
repo redeclared in this block
full-review: api/webhook/post.go#L183
other declaration of repo (typecheck)
full-review: router/router.go#L39
could not import github.com/go-vela/server/api/webhook (-: # github.com/go-vela/server/api/webhook
full-review: api/webhook/post.go#L196
cannot use repo (variable of type *"github.com/go-vela/server/api/types".Repo) as []byte value in argument to scm.FromContext(c).VerifyWebhook
full-review: api/webhook/post.go#L228
repo redeclared in this block
diff-review: api/repo/repair.go#L12
could not import github.com/go-vela/server/api/webhook (-: # github.com/go-vela/server/api/webhook
diff-review: api/webhook/post.go#L196
cannot use repo (variable of type *"github.com/go-vela/server/api/types".Repo) as []byte value in argument to scm.FromContext(c).VerifyWebhook
diff-review: api/webhook/post.go#L228
repo redeclared in this block
diff-review: api/webhook/post.go#L183
other declaration of repo) (typecheck)
diff-review: api/webhook/post.go#L196
cannot use repo (variable of type *"github.com/go-vela/server/api/types".Repo) as []byte value in argument to scm.FromContext(c).VerifyWebhook
diff-review: api/webhook/post.go#L228
repo redeclared in this block
diff-review: api/webhook/post.go#L183
other declaration of repo (typecheck)
diff-review: router/router.go#L39
could not import github.com/go-vela/server/api/webhook (-: # github.com/go-vela/server/api/webhook
diff-review: api/webhook/post.go#L196
cannot use repo (variable of type *"github.com/go-vela/server/api/types".Repo) as []byte value in argument to scm.FromContext(c).VerifyWebhook
diff-review: api/webhook/post.go#L228
repo redeclared in this block
full-review
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
diff-review
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.