chore: apply golangci "forbidigo" to all packages - #39151
Merged
Conversation
wxiaoguang
force-pushed
the
refactor-cmd-print
branch
from
August 27, 2026 10:32
414553c to
ffc5199
Compare
bircni
approved these changes
Aug 27, 2026
TheFox0x7
approved these changes
Aug 27, 2026
wxiaoguang
enabled auto-merge (squash)
August 27, 2026 16:17
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Aug 28, 2026
* 'main' of https://github.com/go-gitea/gitea: fix(packages): preserve SemVer prerelease identifiers in Swift Registry (go-gitea#39156) [skip ci] Updated translations via Crowdin ci(snap): pack snaps without an LXD container (go-gitea#39152) chore: apply golangci "forbidigo" to all packages (go-gitea#39151) refactor: drop two unmaintained dependencies, rename the byte size helpers (go-gitea#39083) fix(actions): keep step-level continue-on-error expressions unevaluated (go-gitea#39141) [skip ci] Updated translations via Crowdin feat: add deploy tokens (go-gitea#37306) chore: raise minimum git version to 2.25 (go-gitea#39131) fix: recognize linguist language aliases (go-gitea#39135) fix(repo): centralize repository-scoped authorization (go-gitea#39063)
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Aug 28, 2026
* main: fix(packages): preserve SemVer prerelease identifiers in Swift Registry (go-gitea#39156) [skip ci] Updated translations via Crowdin ci(snap): pack snaps without an LXD container (go-gitea#39152) chore: apply golangci "forbidigo" to all packages (go-gitea#39151) refactor: drop two unmaintained dependencies, rename the byte size helpers (go-gitea#39083) fix(actions): keep step-level continue-on-error expressions unevaluated (go-gitea#39141) [skip ci] Updated translations via Crowdin feat: add deploy tokens (go-gitea#37306) chore: raise minimum git version to 2.25 (go-gitea#39131) fix: recognize linguist language aliases (go-gitea#39135) fix(repo): centralize repository-scoped authorization (go-gitea#39063)
silverwind
added a commit
to silverwind/gitea
that referenced
this pull request
Aug 30, 2026
* origin/main: (30 commits) docs: Update CHANGELOG for release 1.27.3 (go-gitea#39170) [skip ci] Updated translations via Crowdin [skip ci] Updated translations via Crowdin fix(process): reap entire process group on cmd.Cancel (go-gitea#39143) feat(web): Add org removal functionality to admin user details page (go-gitea#38013) fix(actions): run every due schedule exactly once per occurrence (go-gitea#39078) refactor: pagination/pager (go-gitea#39162) [skip ci] Updated translations via Crowdin enhance(actions): make workflow dispatch choice dropdown support search (go-gitea#39154) fix(web): populate the reason for "cannot commit to branch" in web editor commit form (go-gitea#39155) refactor(automerge): fix error handling, populate recent automerge tasks on restart (go-gitea#39001) chore(frontend): avoid loading CSS twice in vite dev mode (go-gitea#39160) fix(packages): preserve SemVer prerelease identifiers in Swift Registry (go-gitea#39156) [skip ci] Updated translations via Crowdin ci(snap): pack snaps without an LXD container (go-gitea#39152) chore: apply golangci "forbidigo" to all packages (go-gitea#39151) refactor: drop two unmaintained dependencies, rename the byte size helpers (go-gitea#39083) fix(actions): keep step-level continue-on-error expressions unevaluated (go-gitea#39141) [skip ci] Updated translations via Crowdin feat: add deploy tokens (go-gitea#37306) ... # Conflicts: # modelmigration/migrations.go # modelmigration/v28/v352.go # routers/private/hook_pre_receive.go # templates/repo/release/new.tmpl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"forbidigo" is useful to disable the functions that we don't want developers to use (for the future), so remove its exclusion rule.