Skip to content

Fix pre-complete Access Token permissions #27588

Fix pre-complete Access Token permissions

Fix pre-complete Access Token permissions #27588

Triggered via pull request February 23, 2025 04:21
Status Failure
Total duration 7m 6s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 2 warnings
frontend: web_src/js/components/ScopedAccessTokenSelector.vue#L27
Element implicitly has an 'any' type because expression of type '"admin"' can't be used to index type '{ activitypub: { read: { value: string; selected: boolean; }; write: { value: string; selected: boolean; }; }; }'.
frontend: web_src/js/components/ScopedAccessTokenSelector.vue#L38
Element implicitly has an 'any' type because expression of type '"issue"' can't be used to index type '{ activitypub: { read: { value: string; selected: boolean; }; write: { value: string; selected: boolean; }; }; }'.
frontend: web_src/js/components/ScopedAccessTokenSelector.vue#L48
Element implicitly has an 'any' type because expression of type '"misc"' can't be used to index type '{ activitypub: { read: { value: string; selected: boolean; }; write: { value: string; selected: boolean; }; }; }'.
frontend: web_src/js/components/ScopedAccessTokenSelector.vue#L58
Element implicitly has an 'any' type because expression of type '"notification"' can't be used to index type '{ activitypub: { read: { value: string; selected: boolean; }; write: { value: string; selected: boolean; }; }; }'.
frontend: web_src/js/components/ScopedAccessTokenSelector.vue#L68
Element implicitly has an 'any' type because expression of type '"organization"' can't be used to index type '{ activitypub: { read: { value: string; selected: boolean; }; write: { value: string; selected: boolean; }; }; }'.
frontend: web_src/js/components/ScopedAccessTokenSelector.vue#L78
Element implicitly has an 'any' type because expression of type '"package"' can't be used to index type '{ activitypub: { read: { value: string; selected: boolean; }; write: { value: string; selected: boolean; }; }; }'.
frontend: web_src/js/components/ScopedAccessTokenSelector.vue#L88
Element implicitly has an 'any' type because expression of type '"repository"' can't be used to index type '{ activitypub: { read: { value: string; selected: boolean; }; write: { value: string; selected: boolean; }; }; }'.
frontend: web_src/js/components/ScopedAccessTokenSelector.vue#L98
Element implicitly has an 'any' type because expression of type '"user"' can't be used to index type '{ activitypub: { read: { value: string; selected: boolean; }; write: { value: string; selected: boolean; }; }; }'.
frontend
Process completed with exit code 2.
lint-backend: routers/web/user/setting/applications.go#L8
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
lint-backend
Process completed with exit code 2.
lint-go-windows: routers/web/user/setting/applications.go#L8
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
lint-go-windows
Process completed with exit code 2.
lint-go-gogit: routers/web/user/setting/applications.go#L8
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
lint-go-gogit
Process completed with exit code 2.
lint-templates
Cache not found for keys: node-cache-Linux-x64-npm-797fe09cea7bd13e460839f9738ff16a84c9c32e651c6947e509b1ebb7e5b0e1
frontend
Cache not found for keys: node-cache-Linux-x64-npm-797fe09cea7bd13e460839f9738ff16a84c9c32e651c6947e509b1ebb7e5b0e1