Skip to content

chore: auto-tidy go.sum and expand renovate automerge scope#150

Merged
l50 merged 1 commit into
mainfrom
chore/renovate-gomodtidy-automerge
Apr 27, 2026
Merged

chore: auto-tidy go.sum and expand renovate automerge scope#150
l50 merged 1 commit into
mainfrom
chore/renovate-gomodtidy-automerge

Conversation

@l50
Copy link
Copy Markdown
Contributor

@l50 l50 commented Apr 27, 2026

Key Changes:

  • Renovate now runs go mod tidy after every Go module update, eliminating the recurring pre-commit failure that blocked the merge queue on every gomod bump
  • Added auto-merge for minor, patch, and digest updates across gomod, terraform, and dockerfile/docker-compose so routine dependency PRs no longer pile up waiting for manual clicks
  • Major version bumps (e.g. ubuntu 24 → 26) still require human review and remain untouched

Added:

  • Top-level postUpdateOptions: ["gomodTidy"] in .github/renovate.json5 so Renovate Go-module PRs include a tidied go.sum at PR creation
  • Auto-merge rule for the gomod manager covering minor, patch, and digest update types
  • Auto-merge rule for the terraform manager covering minor and patch update types
  • Auto-merge rule for the dockerfile and docker-compose managers covering minor, patch, and digest update types

- Add postUpdateOptions: ["gomodTidy"] so gomod PRs include a tidied
  go.sum (the pre-commit go-mod-tidy hook was failing required CI on
  every Renovate Go bump).
- Auto-merge minor/patch + digest updates for gomod, terraform, and
  dockerfile/docker-compose so Renovate PRs don't pile up waiting for
  manual clicks.
@dreadnode-renovate-bot dreadnode-renovate-bot Bot added the area/github Changes made to github actions label Apr 27, 2026
@l50 l50 changed the title chore(renovate): auto-tidy go.sum and expand automerge to gomod/terraform/docker chore: auto-tidy go.sum and expand renovate automerge scope Apr 27, 2026
@l50 l50 merged commit f386287 into main Apr 27, 2026
8 checks passed
@l50 l50 deleted the chore/renovate-gomodtidy-automerge branch April 27, 2026 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/github Changes made to github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant