Skip to content

Refactor Actions Token Access #33763

Refactor Actions Token Access

Refactor Actions Token Access #33763

Triggered via pull request October 21, 2025 20:58
Status Failure
Total duration 8m 18s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors
checks-backend
Process completed with exit code 2.
lint-go-windows
Process completed with exit code 2.
lint-go-windows: tests/integration/actions_job_token_test.go#L85
File is not properly formatted (gofumpt)
lint-go-windows: tests/integration/actions_job_token_test.go#L84
empty-lines: extra empty line at the start of a block (revive)
lint-go-windows: tests/integration/actions_job_token_test.go#L17
duplicated-imports: Package "code.gitea.io/gitea/modules/structs" already imported (revive)
lint-go-windows: services/lfs/locks.go#L331
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint-go-windows: services/lfs/locks.go#L184
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint-go-windows: models/git/lfs_lock.go#L190
var-naming: var taskId should be taskID (revive)
lint-go-gogit
Process completed with exit code 2.
lint-go-gogit: tests/integration/actions_job_token_test.go#L85
File is not properly formatted (gofumpt)
lint-go-gogit: tests/integration/actions_job_token_test.go#L84
empty-lines: extra empty line at the start of a block (revive)
lint-go-gogit: tests/integration/actions_job_token_test.go#L17
duplicated-imports: Package "code.gitea.io/gitea/modules/structs" already imported (revive)
lint-go-gogit: services/lfs/locks.go#L331
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint-go-gogit: services/lfs/locks.go#L184
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint-go-gogit: models/git/lfs_lock.go#L190
var-naming: var taskId should be taskID (revive)
lint-backend
Process completed with exit code 2.
lint-backend: tests/integration/actions_job_token_test.go#L85
File is not properly formatted (gofumpt)
lint-backend: tests/integration/actions_job_token_test.go#L84
empty-lines: extra empty line at the start of a block (revive)
lint-backend: tests/integration/actions_job_token_test.go#L17
duplicated-imports: Package "code.gitea.io/gitea/modules/structs" already imported (revive)
lint-backend: services/lfs/locks.go#L331
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint-backend: services/lfs/locks.go#L184
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint-backend: models/git/lfs_lock.go#L190
var-naming: var taskId should be taskID (revive)