Skip to content

update golangci-lint to v2.7.0#36079

Merged
silverwind merged 5 commits intogo-gitea:mainfrom
silverwind:golangci-lint@v2.7.0
Dec 4, 2025
Merged

update golangci-lint to v2.7.0#36079
silverwind merged 5 commits intogo-gitea:mainfrom
silverwind:golangci-lint@v2.7.0

Conversation

@silverwind
Copy link
Member

@silverwind silverwind commented Dec 4, 2025

  • Update and autofix most issues
  • Corrected variable names to cutOk
  • Impossible condition in services/migrations/onedev_test.go removed
  • modules/setting/config_env.go:128:3 looks like a false-positive, added nolint

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 4, 2025
@github-actions github-actions bot added modifies/go Pull requests that update Go code modifies/internal labels Dec 4, 2025
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Dec 4, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 4, 2025
@silverwind silverwind enabled auto-merge (squash) December 4, 2025 08:04
@silverwind silverwind added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Dec 4, 2025
@silverwind silverwind merged commit b49dd8e into go-gitea:main Dec 4, 2025
23 checks passed
@GiteaBot GiteaBot added this to the 1.26.0 milestone Dec 4, 2025
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Dec 4, 2025
@silverwind silverwind deleted the golangci-lint@v2.7.0 branch December 4, 2025 09:13
zjjhot added a commit to zjjhot/gitea that referenced this pull request Dec 5, 2025
* giteaofficial/main:
  Add strikethrough button to markdown editor (go-gitea#36087)
  Move commit related functions to gitrepo package (go-gitea#35600)
  Fix the bug when ssh clone with redirect user or repository (go-gitea#36039)
  fix some file icon ui (go-gitea#36078)
  update golangci-lint to v2.7.0 (go-gitea#36079)
  Use Golang net/smtp instead of gomail's smtp to send email (go-gitea#36055)
  Fix edit user email bug in API (go-gitea#36068)
  [skip ci] Updated translations via Crowdin
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Mar 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code modifies/internal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants