Skip to content

chore(deps): update pre-commit hook golangci/golangci-lint to v2.13.2 - #735

Open
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/golangci-golangci-lint-2.x
Open

chore(deps): update pre-commit hook golangci/golangci-lint to v2.13.2#735
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/golangci-golangci-lint-2.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Aug 23, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Type Update Change
golangci/golangci-lint repository minor v2.12.2v2.13.2

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

golangci/golangci-lint (golangci/golangci-lint)

v2.13.2

Compare Source

Released on 2026-08-28

  1. Bug fixes
    • Decrease cache entropy
  2. Linters bug fixes
    • iface: from 1.5.0 to 1.5.1
    • staticcheck: from 0.8.0 to 0.8.1
    • unparam: from 3f964bc to 2fa3d84
    • canonicalheader: from v1.1.2 to a temporary fork

v2.13.1

Compare Source

Released on 2026-08-20

  1. Linters bug fixes
    • ginkgolinter: from 0.23.1 to 0.24.0
    • gofmt: from d62b90e to e84e050
    • staticcheck: from 0.8.0-rc.1 to 0.8.0
    • wsl_v5: from 5.8.0 to 5.9.0

v2.13.0

Compare Source

Released on 2026-08-19

  1. Enhancements
    • 🎉 go1.27 support
  2. Bug fixes
    • fix: cache package facts
  3. Linters new features or changes
    • dupword: from 0.1.7 to 0.1.8 (new option skip-raw-strings)
    • errcheck: from 1.10.0 to 1.20.0
    • exhaustruct_v5: from 4.0.0 to 5.0.2 (new configuration)
    • exhaustruct: deprecated and replaced by exhaustruct_v5
    • fatcontext: from 0.9.0 to 0.10.0 (new options: check-loops, check-function-literals)
    • goconst: from 1.10.0 to 1.11.0 (new options: ignore-map-keys, exclude-types)
    • gofumpt: from 0.9.2 to 0.11.0 (new options: extra.group-params, extra.clothe-returns, extra.balance-calls)
    • gomoddirectives: from 0.8.0 to 0.9.0 (new option: replace-allow-all)
    • gosec: from 2.26.1 to 2.27.1
    • govet-modernize: from 0.44.0 to 0.49.0 (fmtappendf is removed. New analyzers atomictypes, embedlit, errorsastype, importcomment, reflecttypeassert, slicesclip, and slicesbackward. waitgroup is renamed waitgroupgo)
    • iface: from 1.4.3 to 1.5.0 (new analyzer: unusedmethod)
    • noinlineerr: from 1.0.5 to 1.0.6
    • nonamedreturns: from 1.0.6 to 1.0.8 (new option: allow-unused-named-returns)
    • recvcheck: from 0.2.0 to 0.3.0 (new default exclusions)
    • unparam: from 5beb8c8 to 3f964bc
  4. Linters bug fixes
    • clickhouse-go-linter: from 1.2.0 to 1.2.1
    • errname: from 1.1.1 to 1.1.2
    • exhaustruct: from 5.0.2 to 5.0.3
    • funcorder: add missing Function field
    • ginkgolinter: from 0.23.0 to 0.23.1
    • gocheckcompilerdirectives: from 1.3.0 to 1.4.0
    • gocritic: from 0.14.3 to 0.14.4
    • gomoddirectives: add missing IgnoreForbidden field
    • iface: from 1.4.2 to 1.4.3
    • mirror: from 1.3.0 to 1.3.3
    • nilnil: from 1.1.1 to 1.1.2
    • protogetter: from 0.3.20 to 0.3.21

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 361e57a1-5236-49f8-8a1b-16b642e4aa82

📥 Commits

Reviewing files that changed from the base of the PR and between bfbe5a5 and 32bc556.

📒 Files selected for processing (1)
  • .pre-commit-config.yaml

Included review availability: Your plan provides up to 12 included reviews per hour; 3 remain after this review.


Walkthrough

The pre-commit configuration updates the golangci-lint dependency from v2.12.2 to v2.13.2.

Changes

Lint dependency update

Layer / File(s) Summary
Update golangci-lint revision
.pre-commit-config.yaml
The pre-commit configuration now uses golangci-lint v2.13.2 instead of v2.12.2.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 32bc5

This PR updates the pre-commit golangci-lint version from v2.12.2 to v2.13.2 without an identified product or production impact; no actionable merge-blocking risk remains.

Suggested reviewers: anfredette, dave-tucker

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely identifies the update to the golangci/golangci-lint pre-commit hook and specifies the target version, v2.13.2.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed PASS: The pull request changes only .pre-commit-config.yaml, updating the golangci-lint revision from v2.12.2 to v2.13.2. It changes no test files or Ginkgo test titles. No dynamic or overly spe…
Test Structure And Quality ✅ Passed PASS: The pull request changes only .pre-commit-config.yaml, updating the golangci-lint hook from v2.12.2 to v2.13.2. The repository has no *_test.go files and no Ginkgo test code. Therefore…
Microshift Test Compatibility ✅ Passed PASS — The pull request changes only .pre-commit-config.yaml, updating the golangci-lint hook from v2.12.2 to v2.13.2. The diff contains no Go files or new Ginkgo e2e tests, so the MicroShift …
Single Node Openshift (Sno) Test Compatibility ✅ Passed PASS — The pull request changes only .pre-commit-config.yaml, updating the golangci-lint hook from v2.12.2 to v2.13.2. The committed diff adds no Ginkgo tests, test files, or multi-node assump…
Topology-Aware Scheduling Compatibility ✅ Passed PASS — The pull request changes only .pre-commit-config.yaml, updating the golangci-lint hook from v2.12.2 to v2.13.2. The patch does not add or modify deployment manifests, operator code, con…
Ote Binary Stdout Contract ✅ Passed PASS. The PR changes only .pre-commit-config.yaml, from golangci-lint v2.12.2 to v2.13.2. It does not change any Go source or process-level OTE code. Structural searches found no fmt stdout …
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PASS: The pull request changes only .pre-commit-config.yaml, updating the golangci-lint hook from v2.12.2 to v2.13.2. The diff adds no Ginkgo e2e tests, IPv4 assumptions, or external connectiv…
No-Weak-Crypto ✅ Passed PASS: The pull request changes only .pre-commit-config.yaml, from golangci-lint v2.12.2 to v2.13.2. It adds no MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB, custom cryptography, or secret-comparis…
Container-Privileges ✅ Passed The pull request changes only .pre-commit-config.yaml, updating golangci-lint from v2.12.2 to v2.13.2. The diff adds no container or Kubernetes privilege settings. Existing privilege-related s…
No-Sensitive-Data-In-Logs ✅ Passed PASS. The pull request changes only .pre-commit-config.yaml, updating the golangci-lint revision from v2.12.2 to v2.13.2. No logging code, log message, credential, token, PII, hostname, or cus…
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Full details: Stable And Deterministic Test Names

Explanation

PASS: The pull request changes only .pre-commit-config.yaml, updating the golangci-lint revision from v2.12.2 to v2.13.2. It changes no test files or Ginkgo test titles. No dynamic or overly specific test name was introduced.

Full details: Test Structure And Quality

Explanation

PASS: The pull request changes only .pre-commit-config.yaml, updating the golangci-lint hook from v2.12.2 to v2.13.2. The repository has no *_test.go files and no Ginkgo test code. Therefore, the stated Ginkgo test quality requirements are not applicable.

Full details: Microshift Test Compatibility

Explanation

PASS — The pull request changes only .pre-commit-config.yaml, updating the golangci-lint hook from v2.12.2 to v2.13.2. The diff contains no Go files or new Ginkgo e2e tests, so the MicroShift test compatibility check does not apply.

Full details: Single Node Openshift (Sno) Test Compatibility

Explanation

PASS — The pull request changes only .pre-commit-config.yaml, updating the golangci-lint hook from v2.12.2 to v2.13.2. The committed diff adds no Ginkgo tests, test files, or multi-node assumptions. The SNO check is therefore not applicable.

Full details: Topology-Aware Scheduling Compatibility

Explanation

PASS — The pull request changes only .pre-commit-config.yaml, updating the golangci-lint hook from v2.12.2 to v2.13.2. The patch does not add or modify deployment manifests, operator code, controllers, or scheduling constraints. Therefore, the topology-aware scheduling check is not applicable.

Full details: Ote Binary Stdout Contract

Explanation

PASS. The PR changes only .pre-commit-config.yaml, from golangci-lint v2.12.2 to v2.13.2. It does not change any Go source or process-level OTE code. Structural searches found no fmt stdout calls, klog calls, os.Stdout, or Ginkgo suite setup. Therefore, the PR introduces no stated OTE stdout contract violation.

Full details: Ipv6 And Disconnected Network Test Compatibility

Explanation

PASS: The pull request changes only .pre-commit-config.yaml, updating the golangci-lint hook from v2.12.2 to v2.13.2. The diff adds no Ginkgo e2e tests, IPv4 assumptions, or external connectivity requirements.

Full details: No-Weak-Crypto

Explanation

PASS: The pull request changes only .pre-commit-config.yaml, from golangci-lint v2.12.2 to v2.13.2. It adds no MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB, custom cryptography, or secret-comparison code. The repository search found no such usage in Go source, and the dependency version change does not introduce application cryptographic behavior.

Full details: Container-Privileges

Explanation

The pull request changes only .pre-commit-config.yaml, updating golangci-lint from v2.12.2 to v2.13.2. The diff adds no container or Kubernetes privilege settings. Existing privilege-related settings in deployment files are unchanged and therefore are not caused by this pull request.

Full details: No-Sensitive-Data-In-Logs

Explanation

PASS. The pull request changes only .pre-commit-config.yaml, updating the golangci-lint revision from v2.12.2 to v2.13.2. No logging code, log message, credential, token, PII, hostname, or customer-data handling was added or changed.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/main/golangci-golangci-lint-2.x

Comment @coderabbitai help to get the list of available commands.

@openshift-ci openshift-ci Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 23, 2026
@openshift-ci

openshift-ci Bot commented Aug 23, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: red-hat-konflux[bot]
Once this PR has been reviewed and has the lgtm label, please assign anfredette for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@openshift-ci

openshift-ci Bot commented Aug 23, 2026

Copy link
Copy Markdown

Hi @red-hat-konflux[bot]. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from b25b8ee to bfbe5a5 Compare August 24, 2026 01:34
@red-hat-konflux red-hat-konflux Bot changed the title chore(deps): update pre-commit hook golangci/golangci-lint to v2.13.0 chore(deps): update pre-commit hook golangci/golangci-lint to v2.13.1 Aug 24, 2026
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from bfbe5a5 to 32bc556 Compare August 31, 2026 01:15
@red-hat-konflux red-hat-konflux Bot changed the title chore(deps): update pre-commit hook golangci/golangci-lint to v2.13.1 chore(deps): update pre-commit hook golangci/golangci-lint to v2.13.2 Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants