Skip to content

refactor: consume the shared renovate preset - #65

Merged
stxkxs merged 2 commits into
mainfrom
refactor/renovate-shared-preset
Aug 8, 2026
Merged

refactor: consume the shared renovate preset#65
stxkxs merged 2 commits into
mainfrom
refactor/renovate-shared-preset

Conversation

@stxkxs

@stxkxs stxkxs commented Aug 8, 2026

Copy link
Copy Markdown
Member

Why

This repo carried a full copy of the org's Renovate posture. It now extends the shared preset at nanohype/.github:

{ "extends": ["github>nanohype/.github"] }

A posture change is now one edit rather than the same edit in six places — which is exactly how these copies drifted apart in the first place.

No behaviour change intended

Everything removed here is byte-identical to what the preset carries, or narrower than it. The grouping rules match by manager, not by path, so their bodies were already the same across repos even where the descriptions differed.

Where this repo's rules were broader than the preset's first draft — @smithy/* grouped with the AWS SDK, @eslint/* with the lint stack — the preset was widened to match (.github#19) before this conversion. Union, not intersection: a pattern that matches nothing costs nothing, while a missing one produces a PR that cannot merge alone.

A verification caveat worth carrying forward

renovate-config-validator does not resolve remote presets. Pointing extends at a repository that does not exist still validates "successfully":

extends: ["github>nanohype/.github-does-not-exist"]
→ INFO: Config validated successfully against 1 file(s)

So a clean validation proves the JSON is well-formed and the local keys are valid — not that the preset reference resolves. The check that proves that is Renovate's next run still producing a Dependency Dashboard with the same grouped updates. Worth watching after merge rather than assuming.

https://claude.ai/code/session_012iMnbboJuiUMSvu7n8oRhz

stxkxs added 2 commits August 7, 2026 17:47
This repo carried a full copy of the org's Renovate posture. It now extends the
shared preset at nanohype/.github instead, so a posture change is one edit
rather than the same edit in six places — which is how these copies drifted
apart in the first place.

No behaviour change is intended. Everything removed here is byte-identical to
what the preset now carries, or narrower than it: the grouping rules match by
manager rather than by path, so their bodies were already the same across repos
even where the descriptions differed.

Worth knowing for the next person: renovate-config-validator does NOT resolve
remote presets. Pointing extends at a repo that does not exist still validates
"successfully", so a clean validation proves the JSON is well-formed and the
local keys are valid — not that the preset reference resolves. The check that
proves that is Renovate's next run still producing a Dependency Dashboard with
the same grouped updates.
Formatting only; no config change.
@stxkxs
stxkxs merged commit 0f771be into main Aug 8, 2026
14 checks passed
@stxkxs
stxkxs deleted the refactor/renovate-shared-preset branch August 8, 2026 00:56
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