Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 8, 2026

Bumps github.com/golangci/golangci-lint/v2 from 2.7.2 to 2.8.0.

Release notes

Sourced from github.com/golangci/golangci-lint/v2's releases.

v2.8.0

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, the maintainers and linter authors.

We appreciate it! ❤️

For key updates, see the changelog.

Changelog

  • 6a55b8ba828f05d3ce1e04d94040d833909fe428 build(deps): bump codeberg.org/polyfloyd/go-errorlint from 1.8.0 to 1.9.0 (#6284)
  • 57d155c1730ab410db72eebb89eaece3e3f82162 build(deps): bump github.com/BurntSushi/toml from 1.5.0 to 1.6.0 (#6276)
  • 0d43769b688aceaf451c7f088cc8b3870edbc830 build(deps): bump github.com/MirrexOne/unqueryvet from 1.3.0 to 1.4.0 (#6299)
  • 6c532812bf9b3f1f3e8a624e535679ceb9c92497 build(deps): bump github.com/alecthomas/chroma/v2 from 2.20.0 to 2.21.1 (#6278)
  • 2f5fe9701f996074adba5c12e453084fd2034d65 build(deps): bump github.com/alexkohler/prealloc from 1.0.0 to 1.0.1 (#6289)
  • 496ae4438af468a5d5f46664c33b74e5ea95f5dd build(deps): bump github.com/ghostiam/protogetter from 0.3.17 to 0.3.18 (#6277)
  • e2fbe0a10c0e26bc9332abbe1c739bf13210c974 build(deps): bump github.com/go-critic/go-critic from 0.14.2 to 0.14.3 (#6300)
  • 3cebab943dcd6b78925df4144485fe2d15d6f09a build(deps): bump github.com/godoc-lint/godoc-lint from 0.10.2 to 0.11.1 (#6282)
  • 7a6a90c9cd09c19af2f48acf9898ec46541f0a9e build(deps): bump github.com/golangci/golines from 0.0.0-20250217134842-442fd0091d95 to 0.14.0 (#6279)
  • b388efe7efa29cc7f7ff53b959aaf538ec88103e build(deps): bump github.com/ldez/gomoddirectives from 0.7.1 to 0.8.0 (#6241)
  • 3eae3e942f1867e1a1e8890bfdb452550fafd6ae build(deps): bump github.com/securego/gosec/v2 from 2.22.11-0.20251204091113-daccba6b93d7 to 2.22.11 (#6258)
  • e45bbde33d8df48b3f4145f71363bc99dd7816bf build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.11 to 4.25.12 (#6290)
  • 0e8e7fd4b7d99cb0ad66b1e58f289b8bcb33cb01 build(deps): bump golang.org/x/mod from 0.30.0 to 0.31.0 (#6253)
  • 42866832c90c17df5128fb2d567c956ff14b0b07 build(deps): bump golang.org/x/oauth2 from 0.33.0 to 0.34.0 in /scripts/gen_github_action_config in the scripts group (#6247)
  • 7d53213a6a6a65f45cb5ab81ab7806308c8b99a0 build(deps): bump golang.org/x/sync from 0.18.0 to 0.19.0 (#6255)
  • 9756d45c3d33e6ec3ee4eed55c2c52230645b0b9 build(deps): bump golang.org/x/sys from 0.38.0 to 0.39.0 (#6254)
  • 54af8f39f3e0c1b57bd7532c8f9c11873ef5fdfb build(deps): bump golang.org/x/tools from 0.39.0 to 0.40.0 (#6252)
  • df2b36f71128bee5e394ea1cad350645682967ae build(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 in the github-actions group (#6248)
  • 6441d5c9806ead5e137dddc084c1225c4c233c7b build(deps): bump peter-evans/create-pull-request from 7 to 8 in the github-actions group (#6270)
  • efa78522955caaa57642cc13ce83caca63ca7319 build(deps): bump the linter-testdata group across 5 directories with 8 updates (#6286)
  • 246bc086df2dcdad895b087dbdb4bdc90adb6ab2 revive: add missing enable-default-rules setting (#6288)
  • 2135d9a37b11c34f76b2d12695b19ef2574bd676 revive: fix suggested fixes (#6295)
Changelog

Sourced from github.com/golangci/golangci-lint/v2's changelog.

v2.8.0

Released on 2026-01-07

  1. Linters new features or changes
    • godoc-lint: from 0.10.2 to 0.11.1 (new rule: require-stdlib-doclink)
    • golines: from 442fd0091d95 to 0.14.0
    • gomoddirectives: from 0.7.1 to 0.8.0
    • gosec: from daccba6b93d7 to 2.22.11 (new rule: G116)
    • modernize: from 0.39.0 to 0.40.0 (new analyzers: stringscut, unsafefuncs)
    • prealloc: from 1.0.0 to 1.0.1 (message changes)
    • unqueryvet: from 1.3.0 to 1.4.0 (new options: check-aliased-wildcard, check-string-concat, check-format-strings, check-string-builder, check-subqueries, ignored-functions, sql-builders)
  2. Linters bug fixes
    • go-critic: from 0.14.2 to 0.14.3
    • go-errorlint: from 1.8.0 to 1.9.0
    • govet: from 0.39.0 to 0.40.0
    • protogetter: from 0.3.17 to 0.3.18
    • revive: add missing enable-default-rules setting
  3. Documentation
    • docs: split installation page
Commits
  • e2e4002 chore: prepare release
  • 2135d9a revive: fix suggested fixes (#6295)
  • e2fbe0a build(deps): bump github.com/go-critic/go-critic from 0.14.2 to 0.14.3 (#6300)
  • 0d43769 build(deps): bump github.com/MirrexOne/unqueryvet from 1.3.0 to 1.4.0 (#6299)
  • e45bbde build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.11 to 4.25.12 (#6290)
  • 2f5fe97 build(deps): bump github.com/alexkohler/prealloc from 1.0.0 to 1.0.1 (#6289)
  • 246bc08 revive: add missing enable-default-rules setting (#6288)
  • efa7852 build(deps): bump the linter-testdata group across 5 directories with 8 updat...
  • 3cebab9 build(deps): bump github.com/godoc-lint/godoc-lint from 0.10.2 to 0.11.1 (#6282)
  • 6a55b8b build(deps): bump codeberg.org/polyfloyd/go-errorlint from 1.8.0 to 1.9.0 (#6...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/golangci/golangci-lint/v2](https://github.com/golangci/golangci-lint) from 2.7.2 to 2.8.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/main/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v2.7.2...v2.8.0)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint/v2
  dependency-version: 2.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 8, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 8, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dependabot[bot]
Once this PR has been reviewed and has the lgtm label, please assign evidolob 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant