WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Feat/actions token permissions #35074

Feat/actions token permissions

Feat/actions token permissions #35074

Triggered via pull request December 9, 2025 20:02
Status Failure
Total duration 8m 22s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

32 errors
docs
Process completed with exit code 2.
checks-backend
Process completed with exit code 2.
lint-backend: modules/actions/permission_checker.go#L251
any: interface{} can be replaced by any (modernize)
lint-backend: modules/actions/permission_checker.go#L245
any: interface{} can be replaced by any (modernize)
lint-backend: modules/actions/permission_checker.go#L230
any: interface{} can be replaced by any (modernize)
lint-backend: modules/actions/permission_checker.go#L229
any: interface{} can be replaced by any (modernize)
lint-backend: modules/actions/permission_checker.go#L52
File is not properly formatted (gofumpt)
lint-backend: modules/actions/permission_checker.go#L51
empty-lines: extra empty line at the start of a block (revive)
lint-backend: models/migrations/v1_27/v1_27.go#L104
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint-backend: models/migrations/v1_27/v1_27.go#L4
directive `//nolint` should mention specific linter such as `//nolint:my-linter` (nolintlint)
lint-backend: models/actions/cross_repo_access.go#L6
File is not properly formatted (gofumpt)
lint-backend: models/actions/action_permissions.go#L6
File is not properly formatted (gofumpt)
lint-go-gogit: modules/actions/permission_checker.go#L251
any: interface{} can be replaced by any (modernize)
lint-go-gogit: modules/actions/permission_checker.go#L245
any: interface{} can be replaced by any (modernize)
lint-go-gogit: modules/actions/permission_checker.go#L230
any: interface{} can be replaced by any (modernize)
lint-go-gogit: modules/actions/permission_checker.go#L229
any: interface{} can be replaced by any (modernize)
lint-go-gogit: modules/actions/permission_checker.go#L52
File is not properly formatted (gofumpt)
lint-go-gogit: modules/actions/permission_checker.go#L51
empty-lines: extra empty line at the start of a block (revive)
lint-go-gogit: models/migrations/v1_27/v1_27.go#L104
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint-go-gogit: models/migrations/v1_27/v1_27.go#L4
directive `//nolint` should mention specific linter such as `//nolint:my-linter` (nolintlint)
lint-go-gogit: models/actions/cross_repo_access.go#L6
File is not properly formatted (gofumpt)
lint-go-gogit: models/actions/action_permissions.go#L6
File is not properly formatted (gofumpt)
lint-go-windows: modules/actions/permission_checker.go#L251
any: interface{} can be replaced by any (modernize)
lint-go-windows: modules/actions/permission_checker.go#L245
any: interface{} can be replaced by any (modernize)
lint-go-windows: modules/actions/permission_checker.go#L230
any: interface{} can be replaced by any (modernize)
lint-go-windows: modules/actions/permission_checker.go#L229
any: interface{} can be replaced by any (modernize)
lint-go-windows: modules/actions/permission_checker.go#L52
File is not properly formatted (gofumpt)
lint-go-windows: modules/actions/permission_checker.go#L51
empty-lines: extra empty line at the start of a block (revive)
lint-go-windows: models/migrations/v1_27/v1_27.go#L104
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint-go-windows: models/migrations/v1_27/v1_27.go#L4
directive `//nolint` should mention specific linter such as `//nolint:my-linter` (nolintlint)
lint-go-windows: models/actions/cross_repo_access.go#L6
File is not properly formatted (gofumpt)
lint-go-windows: models/actions/action_permissions.go#L6
File is not properly formatted (gofumpt)