fix(renovate): reuse root config preset #11
No reviewers
Labels
No labels
automerge
bug
dependencies
duplicate
help wanted
invalid
lang
rust
migrations
opencode
question
security
type
documentation
type
enhancement
type
maintenance
type
refactor
vulnerability
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Personal/migrations!11
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/renovate-config-root-preset"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
renovate-configand update it to use the root preset.Checks
bash -n migrations/renovate-config/run.shjq empty renovate.jsonReview Summary
Verified against the live target repo. I confirmed
Personal/renovate-confighasdefault.jsonat its root, so the bare preset referencePersonal/renovate-configresolves correctly per Renovate's local-preset rules (rootdefault.jsonis the default file). I also confirmedpreset/default.jsonstill exists, so nothing currently breaks either way.The transformation itself is correct. The two
s///gsubstitutions run sequentially over the slurped file, somartin/renovate-config//preset/default→Personal/renovate-config//preset/default→Personal/renovate-config. Ordering matters and is right.//preset/flakeis untouched, matching the README. The script is idempotent (a second run produces no diff, so multi-gitter won't open a duplicate PR), and the literal substitutions cannot invalidate JSON.set -euo pipefailand the[[ -f renovate.json ]]guard match the existingcodeowners/flake-input-tagsstyle.Behavioral note worth confirming: root
default.jsonis a superset ofpreset/default.json— it additionally sets:semanticCommits,nix.enabled, andosvVulnerabilityAlerts. So migrated repos gain those settings, not just the owner rename. That looks like the intent of the consolidation inPersonal/renovate-config#5, but it is a config change on every target repo, not a pure rename.Housekeeping: the rename to
renovate-configchanges the multi-gitter branch tomigrate/renovate-config. No PRs are currently open under the oldmigrate/renovate-config-ownerbranch (only #11 and the lock-file PR), andjust _closederives the branch from the name without needing the directory, so nothing is orphaned.No security or performance concerns. Nothing blocking.
*🤖 Review by opencode (opencode/mimo-v2.6-flash-free) — verdict: approve
Code review findings from opencode.
@ -0,0 +1,6 @@#!/usr/bin/env bashset -euo pipefailif [[ -f renovate.json ]]; then