Skip to content

Add api support for external authentication management #29447

Add api support for external authentication management

Add api support for external authentication management #29447

Triggered via pull request April 18, 2025 22:01
Status Failure
Total duration 7m 10s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

19 errors
checks-backend
Process completed with exit code 2.
lint-backend
Process completed with exit code 2.
lint-backend: services/convert/auth_oauth.go#L32
toOauthProvider - ctx is unused (unparam)
lint-backend: routers/api/v1/admin/auth_oauth.go#L85
File is not properly formatted (gofumpt)
lint-backend: routers/api/v1/admin/auth_oauth.go#L61
Error return value of `auth_model.CreateSource` is not checked (errcheck)
lint-backend: routers/api/v1/admin/auth_oauth.go#L16
duplicated-imports: Package "code.gitea.io/gitea/models/auth" already imported (revive)
lint-backend: routers/api/v1/admin/auth_oauth.go#L12
ST1019: package "code.gitea.io/gitea/models/auth" is being imported more than once (staticcheck)
lint-go-gogit
Process completed with exit code 2.
lint-go-gogit: services/convert/auth_oauth.go#L32
toOauthProvider - ctx is unused (unparam)
lint-go-gogit: routers/api/v1/admin/auth_oauth.go#L85
File is not properly formatted (gofumpt)
lint-go-gogit: routers/api/v1/admin/auth_oauth.go#L61
Error return value of `auth_model.CreateSource` is not checked (errcheck)
lint-go-gogit: routers/api/v1/admin/auth_oauth.go#L16
duplicated-imports: Package "code.gitea.io/gitea/models/auth" already imported (revive)
lint-go-gogit: routers/api/v1/admin/auth_oauth.go#L12
ST1019: package "code.gitea.io/gitea/models/auth" is being imported more than once (staticcheck)
lint-go-windows
Process completed with exit code 2.
lint-go-windows: services/convert/auth_oauth.go#L32
toOauthProvider - ctx is unused (unparam)
lint-go-windows: routers/api/v1/admin/auth_oauth.go#L85
File is not properly formatted (gofumpt)
lint-go-windows: routers/api/v1/admin/auth_oauth.go#L61
Error return value of `auth_model.CreateSource` is not checked (errcheck)
lint-go-windows: routers/api/v1/admin/auth_oauth.go#L16
duplicated-imports: Package "code.gitea.io/gitea/models/auth" already imported (revive)
lint-go-windows: routers/api/v1/admin/auth_oauth.go#L12
ST1019: package "code.gitea.io/gitea/models/auth" is being imported more than once (staticcheck)