Skip to content

🌱chore: Update golangci-lint to v2.12.1#3514

Merged
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
dongjiang1989:golangci-linter-v2.12.1
May 6, 2026
Merged

🌱chore: Update golangci-lint to v2.12.1#3514
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
dongjiang1989:golangci-linter-v2.12.1

Conversation

@dongjiang1989
Copy link
Copy Markdown
Member

Summary

  • Update golangci-lint action from v2.11.3 to v2.12.1
  • Add goconst linter configuration (ignore-tests: true, min-occurrences: 5) : goconst: ignore strings from tests golangci/golangci-lint#6480
  • Replace deprecated reflect.Ptr with reflect.Pointer across 4 files
  • Address new goconst findings by removing unnecessary //nolint:goconst comments

Signed-off-by: dongjiang <dongjiang1989@126.com>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 6, 2026
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 6, 2026
@dongjiang1989 dongjiang1989 changed the title chore: Update golangci-lint to v2.12.1 🌱chore: Update golangci-lint to v2.12.1 May 6, 2026
Copy link
Copy Markdown
Member

@alvaroaleman alvaroaleman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 6, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: 2a59949a5d0480d4be02d50cfca0006eb3d71977

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman, dongjiang1989

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 6, 2026
@k8s-ci-robot k8s-ci-robot merged commit a76332c into kubernetes-sigs:main May 6, 2026
9 of 10 checks passed
@dongjiang1989 dongjiang1989 deleted the golangci-linter-v2.12.1 branch May 6, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants