Skip to content

Configure Renovate for Go, Docker and Actions - #8

Merged
1 commit merged into
emfga:mainfrom
lemuelroberto:add-renovate
Oct 29, 2026
Merged

1 commit merged into
emfga:mainfrom
lemuelroberto:add-renovate

Conversation

@lemuelroberto

@lemuelroberto lemuelroberto commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Adds renovate.json, replacing the bare config:recommended from the
onboarding PR (#2) with a config fitted to this repo. Merging this
makes #2 redundant; close #2 once this lands.

What it watches

  • gomod — go.mod modules and the go directive, with
    postUpdateOptions: ["gomodTidy", "gomodUpdateImportPaths"]
  • docker-compose / dockerfile — postgres:18-alpine and
    golang:*-alpine in compose.yaml, the BASE_IMAGE default in
    docker/pg_tle.Dockerfile; digests pinned (config:best-practices)
  • github-actions — harden-runner, checkout, setup-go (SHA-pinned)
  • regex manager — aws/pg_tle from ARG PG_TLE_VERSION= in the
    Dockerfile and the version named in docs/INSTALL.md, updated
    together

Behaviour

  • Base presets as in the other emfga repos: best-practices, OpenSSF
    scorecard, vulnerability alerts (labelled security), São Paulo
    timezone, early-Monday schedule, no rate limit
  • Commit messages Bump <dep> …, no semantic prefixes (CLAUDE.md
    forbids conventional commits)
  • Grouped: all GitHub Actions in one PR, all image digest refreshes
    in one PR, golang.org/x/* in one PR, and the go directive with
    the golang image as "Go toolchain"
  • cel.dev/cel-go and PostgreSQL major PRs carry a body note:
    cel-go is the conformance oracle that CLAUDE.md keeps exactly
    pinned, so its PR needs internal/oracle.Version moved and a
    re-measurement; a Postgres major needs pg_tle checked against it
  • No dashboard approval gates and no automerge: every update opens
    as a PR on the Monday schedule and is merged by hand

Not tracked

  • The cel-spec corpus ref in ci.yml / internal/corpus.Pin: it
    moves only as a deliberate re-measurement, and a test already
    enforces that both stay equal.

Validated with renovate-config-validator (Renovate 44.198.0).

Every pin in the tree -- go.mod, the compose and Dockerfile images,
the action SHAs, pg_tle -- has so far been bumped by hand, which in
practice means not bumped. Renovate watches all of them on a weekly
schedule, keeps go.sum tidy, and groups the noisy updates (action
SHAs, image digests, golang.org/x) so review stays cheap.

cel-go and PostgreSQL majors get a note in their PR body rather than
a routine path: cel-go is the conformance oracle and CLAUDE.md keeps
it exactly pinned, so its bump has to be a deliberate re-measurement
with oracle.Version moved alongside. pg_tle is pinned as an ARG
Renovate cannot see, so a regex manager tracks it in the Dockerfile
and the install guide together.
@lemuelroberto lemuelroberto closed this pull request by merging all changes into emfga:main in 649eee0 Oct 29, 2026
@lemuelroberto
lemuelroberto deleted the add-renovate branch October 30, 2026 01:22
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