Skip to content

Address some CodeQL security concerns #33169

Address some CodeQL security concerns

Address some CodeQL security concerns #33169

Triggered via pull request October 3, 2025 09:21
Status Failure
Total duration 7m 38s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

19 errors
frontend: web_src/js/features/comp/SearchUserBox.ts#L13
Argument of type 'Element' is not assignable to parameter of type 'string'.
frontend: web_src/js/features/comp/SearchRepoBox.ts#L8
Argument of type 'HTMLElement' is not assignable to parameter of type 'string'.
frontend: web_src/js/features/comp/LabelEdit.ts#L68
Argument of type 'HTMLElement' is not assignable to parameter of type 'string'.
frontend: web_src/js/features/comp/ConfirmModal.ts#L31
Argument of type 'HTMLElement' is not assignable to parameter of type 'string'.
frontend: web_src/js/features/comp/ComboMarkdownEditor.ts#L231
Argument of type 'NodeListOf<HTMLElement>' is not assignable to parameter of type 'string'.
frontend: web_src/js/features/common-page.ts#L36
Argument of type 'HTMLElement' is not assignable to parameter of type 'string'.
frontend: web_src/js/features/common-button.ts#L176
Argument of type 'Element' is not assignable to parameter of type 'string'.
frontend: web_src/js/features/common-button.ts#L44
Argument of type 'Element' is not assignable to parameter of type 'string'.
frontend: web_src/js/features/admin/common.ts#L251
Argument of type 'HTMLDivElement' is not assignable to parameter of type 'string'.
frontend: web_src/js/components/DashboardRepoList.vue#L115
Argument of type 'Element' is not assignable to parameter of type 'string'.
lint-backend
Process completed with exit code 2.
lint-backend: routers/web/repo/activity.go#L48
SA4018: self-assignment of ctx.Data["Period"] to ctx.Data["Period"] (staticcheck)
lint-backend: modules/auth/password/hash/common.go#L22
directive `//nolint:unparam // algorithmName is always argon2` is unused for linter "unparam" (nolintlint)
lint-go-gogit
Process completed with exit code 2.
lint-go-gogit: routers/web/repo/activity.go#L48
SA4018: self-assignment of ctx.Data["Period"] to ctx.Data["Period"] (staticcheck)
lint-go-gogit: modules/auth/password/hash/common.go#L22
directive `//nolint:unparam // algorithmName is always argon2` is unused for linter "unparam" (nolintlint)
lint-go-windows
Process completed with exit code 2.
lint-go-windows: routers/web/repo/activity.go#L48
SA4018: self-assignment of ctx.Data["Period"] to ctx.Data["Period"] (staticcheck)
lint-go-windows: modules/auth/password/hash/common.go#L22
directive `//nolint:unparam // algorithmName is always argon2` is unused for linter "unparam" (nolintlint)