Skip to content

ci: automerge low-risk Renovate updates, keep the MQTT path manual - #22

Merged
subpathdev merged 2 commits into
mainfrom
ci/renovate-automerge-rules
Nov 19, 2026
Merged

subpathdev merged 2 commits into
mainfrom
ci/renovate-automerge-rules

Conversation

@subpathdev

Copy link
Copy Markdown
Owner

Why

Every Renovate PR here was merged by hand, though CI (test, lint, chart, image) already covers them; #19, #20, #21 were all green. A merge doesn't deploy: a fix(deps) merge cuts a release, which reaches the flat only via a manual smart-home PR (e.g. #20 → v0.5.1 → smart-home #81). So low-risk updates can automerge here while the deploy stays gated.

What

.github/renovate.json:

  • Automerge once CI passes, 09:00-18:00: GitHub Actions and the tool versions in ci.yaml (minor, patch, digest pins); golang image patches (chore(deps), no release); Go module patches except the MQTT client, grouped into one weekly PR (so at most one release a week).
  • Always manual: github.com/eclipse/paho.mqtt.golang (carries every TRV command; label heating-path, 7 days release age), the go directive/toolchain, all majors (label major).
  • minimumReleaseAge 3 days, one Saturday batch, gomodTidy, platformAutomerge: false (main has no required checks yet, so GitHub auto-merge would not wait for CI).
  • helpers:pinGitHubActionDigests: pins Actions to commit SHAs. A moved tag can no longer change what runs in the release job with packages: write.

.github/workflows/ci.yaml: new renovate-config job (PRs only) running renovate-config-validator --strict. It's not in needs of release.

ci: commits: svu doesn't cut a release for this.

How to validate

CI green on this PR, including renovate-config. After merge, expect a PR pinning the Actions to digests that automerges in the 09:00-18:00 window.

Risk / rollback

An automerged Go patch could break the service at runtime that tests don't cover. It would still need the manual smart-home chart PR to reach the flat. Rollback: revert this PR.

🤖 Generated with Claude Code

subpathdev and others added 2 commits November 19, 2026 19:06
Automerges non-major CI tooling, golang image patches and Go module
patches (grouped weekly), once CI passes. The MQTT client, the Go
toolchain and all majors stay manual. Pins Actions to digests and
validates the Renovate config in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@subpathdev
subpathdev merged commit d506419 into main Nov 19, 2026
6 checks passed
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.

1 participant