Skip to content

Make git clone URL could use current signed-in user #26003

Make git clone URL could use current signed-in user

Make git clone URL could use current signed-in user #26003

Triggered via pull request January 3, 2025 03:54
Status Failure
Total duration 5m 44s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 7 warnings
backend: modules/templates/util_misc.go#L153
undefined: giturl.Parse
backend
Process completed with exit code 1.
checks-backend
Process completed with exit code 2.
lint-backend: cmd/embedded.go#L18
could not import code.gitea.io/gitea/modules/templates (-: # code.gitea.io/gitea/modules/templates
lint-backend: modules/templates/util_misc.go#L153
undefined: giturl.Parse) (typecheck)
lint-backend: modules/templates/util_misc.go#L153
undefined: giturl.Parse (typecheck)
lint-backend: routers/api/actions/artifacts.go#L100
cannot use req.Context().Value(artifactContextKey).(*ArtifactContext) (comma, ok expression of type *ArtifactContext) as "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider value in return statement: *ArtifactContext does not implement "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider (missing method WrittenStatus) (typecheck)
lint-backend: routers/api/actions/artifacts.go#L132
ctx.SetContextValue undefined (type *ArtifactContext has no field or method SetContextValue) (typecheck)
lint-backend: routers/api/actions/artifacts.go#L138
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-backend: routers/api/actions/artifacts.go#L150
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-backend: routers/api/actions/artifacts.go#L155
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-backend: routers/api/actions/artifacts.go#L165
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-backend: routers/api/actions/artifacts.go#L172
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-go-gogit: cmd/embedded.go#L18
could not import code.gitea.io/gitea/modules/templates (-: # code.gitea.io/gitea/modules/templates
lint-go-gogit: modules/templates/util_misc.go#L153
undefined: giturl.Parse) (typecheck)
lint-go-gogit: modules/templates/util_misc.go#L153
undefined: giturl.Parse (typecheck)
lint-go-gogit: routers/api/actions/artifacts.go#L100
cannot use req.Context().Value(artifactContextKey).(*ArtifactContext) (comma, ok expression of type *ArtifactContext) as "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider value in return statement: *ArtifactContext does not implement "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider (missing method WrittenStatus) (typecheck)
lint-go-gogit: routers/api/actions/artifacts.go#L132
ctx.SetContextValue undefined (type *ArtifactContext has no field or method SetContextValue) (typecheck)
lint-go-gogit: routers/api/actions/artifacts.go#L138
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-go-gogit: routers/api/actions/artifacts.go#L150
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-go-gogit: routers/api/actions/artifacts.go#L155
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-go-gogit: routers/api/actions/artifacts.go#L165
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-go-gogit: routers/api/actions/artifacts.go#L172
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-go-windows: cmd/embedded.go#L18
could not import code.gitea.io/gitea/modules/templates (-: # code.gitea.io/gitea/modules/templates
lint-go-windows: modules/templates/util_misc.go#L153
undefined: giturl.Parse) (typecheck)
lint-go-windows: modules/templates/util_misc.go#L153
undefined: giturl.Parse (typecheck)
lint-go-windows: routers/api/actions/artifacts.go#L100
cannot use req.Context().Value(artifactContextKey).(*ArtifactContext) (comma, ok expression of type *ArtifactContext) as "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider value in return statement: *ArtifactContext does not implement "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider (missing method WrittenStatus) (typecheck)
lint-go-windows: routers/api/actions/artifacts.go#L132
ctx.SetContextValue undefined (type *ArtifactContext has no field or method SetContextValue) (typecheck)
lint-go-windows: routers/api/actions/artifacts.go#L138
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-go-windows: routers/api/actions/artifacts.go#L150
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-go-windows: routers/api/actions/artifacts.go#L155
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-go-windows: routers/api/actions/artifacts.go#L165
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-go-windows: routers/api/actions/artifacts.go#L172
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
files-changed / detect
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-spell
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks-backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-go-gogit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-go-windows
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636