Skip to content

Add workflow_run api + webhook #28502

Add workflow_run api + webhook

Add workflow_run api + webhook #28502

Triggered via pull request March 21, 2025 13:37
Status Failure
Total duration 7m 16s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

28 errors
checks-backend
Process completed with exit code 2.
lint-backend
Process completed with exit code 2.
lint-backend: services/webhook/notifier.go#L997
ineffectual assignment to err (ineffassign)
lint-backend: services/convert/convert.go#L238
Error return value of `run.LoadRepo` is not checked (errcheck)
lint-backend: services/actions/notifier.go#L787
ineffectual assignment to err (ineffassign)
lint-backend: services/actions/notifier.go#L14
duplicated-imports: Package "code.gitea.io/gitea/models/perm" already imported (revive)
lint-backend: services/actions/notifier.go#L13
ST1019: package "code.gitea.io/gitea/models/perm" is being imported more than once (stylecheck)
lint-backend: routers/api/v1/repo/action.go#L1133
S1023: redundant `return` statement (gosimple)
lint-backend: routers/api/v1/repo/action.go#L1020
S1023: redundant `return` statement (gosimple)
lint-backend: modules/actions/workflows.go#L719
unnecessary conversion (unconvert)
lint-go-gogit
Process completed with exit code 2.
lint-go-gogit: services/webhook/notifier.go#L997
ineffectual assignment to err (ineffassign)
lint-go-gogit: services/convert/convert.go#L238
Error return value of `run.LoadRepo` is not checked (errcheck)
lint-go-gogit: services/actions/notifier.go#L787
ineffectual assignment to err (ineffassign)
lint-go-gogit: services/actions/notifier.go#L14
duplicated-imports: Package "code.gitea.io/gitea/models/perm" already imported (revive)
lint-go-gogit: services/actions/notifier.go#L13
ST1019: package "code.gitea.io/gitea/models/perm" is being imported more than once (stylecheck)
lint-go-gogit: routers/api/v1/repo/action.go#L1133
S1023: redundant `return` statement (gosimple)
lint-go-gogit: routers/api/v1/repo/action.go#L1020
S1023: redundant `return` statement (gosimple)
lint-go-gogit: modules/actions/workflows.go#L719
unnecessary conversion (unconvert)
lint-go-windows
Process completed with exit code 2.
lint-go-windows: services/webhook/notifier.go#L997
ineffectual assignment to err (ineffassign)
lint-go-windows: services/convert/convert.go#L238
Error return value of `run.LoadRepo` is not checked (errcheck)
lint-go-windows: services/actions/notifier.go#L787
ineffectual assignment to err (ineffassign)
lint-go-windows: services/actions/notifier.go#L14
duplicated-imports: Package "code.gitea.io/gitea/models/perm" already imported (revive)
lint-go-windows: services/actions/notifier.go#L13
ST1019: package "code.gitea.io/gitea/models/perm" is being imported more than once (stylecheck)
lint-go-windows: routers/api/v1/repo/action.go#L1133
S1023: redundant `return` statement (gosimple)
lint-go-windows: routers/api/v1/repo/action.go#L1020
S1023: redundant `return` statement (gosimple)
lint-go-windows: modules/actions/workflows.go#L719
unnecessary conversion (unconvert)