Skip to content

chore: adopt shared conf-renovate preset (v1.2.1)#4

Merged
mattwang44 merged 2 commits into
masterfrom
feat/adopt-conf-renovate-preset
May 20, 2026
Merged

chore: adopt shared conf-renovate preset (v1.2.1)#4
mattwang44 merged 2 commits into
masterfrom
feat/adopt-conf-renovate-preset

Conversation

@gofreight-jackyeh
Copy link
Copy Markdown

@gofreight-jackyeh gofreight-jackyeh commented May 18, 2026

Summary

Switches this repo onto the org-shared Renovate preset hardcoretech/conf-renovate pinned at v1.2.1. Part of the fleet rollout following the pilots gf-admin-console#182 (merged) and svc-thor#160.

No prior Renovate config existed; the new file is the minimum-form baseline:

{
  $schema: "https://docs.renovatebot.com/renovate-schema.json",
  extends: [
    "github>hardcoretech/conf-renovate#v1.2.1",
    ":preserveSemverRanges",
  ],
  labels: ["dependencies"],
}

What the preset provides (inherited baseline)

  • config:best-practices + dependency dashboard.
  • SHA-pin GHA + 3-day release-age soak + OSV alerts (locked).
  • Per-ecosystem PR grouping with major-update isolation.
  • Datastore version pinning (mysql / rabbitmq / valkey on docker+helm).
  • Built-in self-bump customManager — the next preset release auto-PRs a bump of #v1.2.1 here without any local config.

Validation gate

A standalone .github/workflows/validate-renovate.yml runs renovate-config-validator --strict --no-global on PR + push. ~20 lines, triggers only on renovate.json5 / workflow changes. (No pre-commit infrastructure in this repo, so a standalone workflow is the lowest-overhead gate.)

Verification

  • renovate-config-validator --strict --no-global renovate.json5 passes locally (Node 24 + renovate@43, LOG_LEVEL=warn, exit 0).
  • After merge: Renovate dashboard onboards the new config cleanly.
  • First scheduled run produces PRs under preset group names where applicable (e.g. gha-non-major).
  • Next conf-renovate release auto-PRs a bump of #v1.2.1#v<next>.

Rollback

Revert this branch — the repo had no Renovate config before, so revert restores the prior (no-Renovate) state.

Switches this repo onto the org-shared Renovate preset
`hardcoretech/conf-renovate` pinned at v1.2.1. Mirrors the
gf-admin-console pilot (#182, merged) and the svc-thor adoption (#160).

What the preset provides (inherited, no local declaration):
- `config:best-practices` baseline + dependency dashboard.
- SHA-pinned GHA + 3-day release-age soak + OSV alerts (locked).
- Per-ecosystem PR grouping with major-update isolation.
- Datastore version pinning (mysql / rabbitmq / valkey on docker+helm).
- Built-in self-bump customManager — future preset releases auto-PR a
  bump of the `#v1.2.1` pin without per-repo config.

Adds `.github/workflows/validate-renovate.yml` (no pre-commit infra in this repo, so a standalone workflow is the lowest-overhead gate).
@gofreight-jackyeh gofreight-jackyeh requested a review from a team as a code owner May 18, 2026 11:45
- Workflow now triggers on every Renovate config filename (renovate.json,
  .renovaterc, .github/renovate.json, etc.) so a future PR can't bypass
  validation by adding a higher-precedence file.
- Workflow refuses to run if any higher-precedence config is present at
  run time, surfacing the conflict loudly instead of silently overriding.
- File-level comment on renovate.json5 now spells out the inherited
  policy (config:best-practices baseline, atomic preset chain) so readers
  don't have to chase the preset source.
@mattwang44 mattwang44 merged commit 2ef7541 into master May 20, 2026
2 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.

2 participants