Skip to content

chore(renovate): move config to .github/ and fix Go version blocking#93

Merged
privateip merged 1 commit into
mainfrom
chore/renovate-config-improvements
May 23, 2026
Merged

chore(renovate): move config to .github/ and fix Go version blocking#93
privateip merged 1 commit into
mainfrom
chore/renovate-config-improvements

Conversation

@privateip
Copy link
Copy Markdown
Contributor

Summary

  • Moves renovate.json to .github/renovate.json (the standard location GitHub and Renovate prefer)
  • Upgrades from deprecated config:base to config:recommended
  • Fixes broken/incomplete Go version blocking with a single matchDatasources: golang-version rule
  • Fixes invalid EST timezone to America/New_York
  • Adds missing matchManagers: gomod to k8s core rule
  • Adds a Docker images group to prevent per-image PRs for lab containers

Details

Go version blocking was broken in two ways:

  1. The GitHub Actions rule matched matchPackageNames: ["actions/go-versions"] — this is not the correct identifier. Renovate tracks the go-version input of actions/setup-go under datasource golang-version with depName go. The old rule was silently a no-op.
  2. The gomod rule only blocked the go directive, not the toolchain directive (a separate dep).

The new single rule matchDatasources: ["golang-version"] covers all three cases: go.mod go directive, go.mod toolchain directive, and setup-go go-version inputs.

Test plan

  • Verify Renovate picks up config from .github/renovate.json on next run
  • Confirm no Go version bump PRs are opened (go directive, toolchain, setup-go)
  • Confirm Go module updates are grouped into a single PR
  • Confirm Docker image updates (kindest/node, debian) are grouped into a single PR

🤖 Generated with Claude Code

- Move renovate.json to .github/renovate.json (standard location)
- Replace deprecated config:base with config:recommended
- Fix Go version blocking: replace three broken/incomplete rules with a
  single matchDatasources: golang-version rule that correctly covers the
  go directive, toolchain directive, and setup-go go-version inputs
  (the old GHA rule matched actions/go-versions which is not a valid
  package name for this purpose; toolchain directive was also unblocked)
- Fix timezone from EST (not a valid IANA tz) to America/New_York
- Add matchManagers: gomod to k8s core rule to prevent cross-manager
  matches
- Add Docker images group rule to avoid per-image PRs for lab containers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@privateip privateip requested a review from a team as a code owner May 23, 2026 11:15
@privateip privateip requested a review from JoseSzycho May 23, 2026 11:15
@privateip privateip merged commit 26d0336 into main May 23, 2026
6 checks passed
@privateip privateip deleted the chore/renovate-config-improvements branch May 23, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants