Repository navigation
Description
Problem
Checked on 2026-11-22.
.github/renovate.jsonof this repository extendsgithub>dan-petty/devops-cli//.github/renovate/base.- refactor(renovate): take the shared preset from infra devops-cli#6676 (PR refactor(deps): take the shared Renovate preset from infra devops-cli#6738, merged) moved the shared preset to
renovate/base.jsonof dan-petty/infra. The devops-cli file is now only a forward to it, and chore(renovate): delete the forwarding preset devops-cli#6677 deletes the forward after each repository extends the infra preset.
Proposed remedy
- Change the entry of
extendstogithub>dan-petty/infra//renovate/base.
Acceptance criteria
-
.github/renovate.jsonextendsgithub>dan-petty/infra//renovate/baseand no preset of dan-petty/devops-cli. -
npx --yes --package renovate -- renovate-config-validator --strict --no-global .github/renovate.jsonexits 0.
Person steps
None.
Dependencies
None.
Proposed design
Problem statement
The shared Renovate preset moved from dan-petty/devops-cli to dan-petty/infra. .github/renovate.json still extends the devops-cli forward, and dan-petty/devops-cli#6677 deletes that forward. The change points the extends entry to the infra preset, keeps the rule for the dev container image, and corrects the guide text that names the old preset.
Acceptance criteria
Requirement: Infra preset replaces the devops-cli forward
The extends list of .github/renovate.json SHALL hold github>dan-petty/infra//renovate/base and SHALL hold no preset of dan-petty/devops-cli.
Scenario: Extends list names only the infra preset
- WHEN the maintainer runs
jq -e '(.extends | index("github>dan-petty/infra//renovate/base")) != null and ([.extends[] | select(contains("dan-petty/devops-cli"))] | length) == 0' .github/renovate.json - THEN the command exits 0 and prints
true.
Requirement: Strict Renovate validation passes
The changed .github/renovate.json MUST pass the strict Renovate config validator.
Scenario: Strict validation exits 0
- WHEN the maintainer runs
npx --yes --package renovate -- renovate-config-validator --strict --no-global .github/renovate.json - THEN the command exits 0 and prints no error line about a preset or a schema rule.
Requirement: Contributor guide names the infra preset
CONTRIBUTING.md SHALL name dan-petty/infra as the source of the shared Renovate preset.
Scenario: Guide no longer points to the devops-cli preset
- WHEN the maintainer runs
grep -n 'renovate' CONTRIBUTING.md - THEN the output shows
.github/renovate.jsonextending the shared preset ofdan-petty/infra.
Existing Tool Considered
No alternatives check has run. This change writes no code: it edits one entry of an existing config file, so the cost to build, keep and fix code is zero tokens and zero time. The open, maintained tool that covers the need is Renovate itself, through renovate-config-validator in the npm package renovate. The validator resolves the extends chain and reports a missing or invalid preset. The validator lacks a check of the exact preset string, so the proposal adds a jq -e live check of the extends list.
Key questions
- Which Renovate preset does
.github/renovate.jsonextend at the commit under refine?:github>dan-petty/devops-cli//.github/renovate/base. That devops-cli file is now a forward torenovate/base.jsonof dan-petty/infra. [sources: .github/renovate.json:3, .github/renovate.json:4, CONTRIBUTING.md:90] - Which preset path replaces the devops-cli forward?: Use
github>dan-petty/infra//renovate/base. The issue records the move of the preset indan-petty/devops-cli#6676(PRdan-petty/devops-cli#6738, merged). (best practice) [sources: .github/renovate.json:4, CONTRIBUTING.md:90]- Chosen:
github>dan-petty/infra//renovate/base. The shared preset moved there, anddan-petty/devops-cli#6677deletes the devops-cli forward. - Rejected: Keep
github>dan-petty/devops-cli//.github/renovate/base. The forward is temporary. Its deletion breaks the config. - Rejected: Copy the preset rules into
.github/renovate.json. It duplicates the shared preset and loses central updates.
- Chosen:
- Does the
packageRulesentry forghcr.io/dan-petty/devops-cli/devcontainerstay?: Yes. The dev container image stays in the devops-cli registry and publishes several tags a day, so the Monday schedule stays. Only the preset source moves. (best practice) [sources: .github/renovate.json:9, .github/renovate.json:10, CONTRIBUTING.md:90]- Chosen: Keep the Monday schedule for the devops-cli image. The image still publishes several tags a day, so Renovate waits for Monday, also for a patch.
- Rejected: Remove the
packageRulesentry. The image still publishes several tags a day, and Renovate would open a pull request for each tag.
- Does the guide text need the same change?: Yes.
CONTRIBUTING.mdstates that.github/renovate.jsonextends the shared preset of devops-cli. That sentence becomes false after the change, so it namesdan-petty/infrainstead. (best practice) [sources: CONTRIBUTING.md:90]- Chosen: Update the sentence in
CONTRIBUTING.md. The sentence names the old preset source and would be stale. - Rejected: Leave
CONTRIBUTING.mdunchanged. The guide would point readers to a deleted forward.
- Chosen: Update the sentence in
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 22, 2026
deps, and .github/labels.yml declares no scope/deps label. Add the label to the file to give the scope to this item.This is a small configuration update with no blocker, deadline, or user-facing impact.devops-cli-service commentedon Nov 22, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.