fix(renovate): extract global defaults, 1-day trusted stabilization#151
fix(renovate): extract global defaults, 1-day trusted stabilization#151JacobPEvans merged 2 commits intomainfrom
Conversation
…zation to 1 day Move automergeType, automergeStrategy, and minimumReleaseAge to top-level defaults so per-rule config only needs overrides. Trusted orgs stabilization reduced from 3 days to 1 day; untrusted packages inherit 3-day global default. (claude)
There was a problem hiding this comment.
Pull request overview
Refactors the org-wide Renovate preset to reduce repetition by moving shared automerge defaults to the top level, while adjusting stabilization timings (trusted orgs: 1 day; default: 3 days).
Changes:
- Extract
automergeType,automergeStrategy, andminimumReleaseAgeinto top-level defaults and remove per-rule duplicates. - Reduce trusted-organization
minimumReleaseAgefrom 3 days to 1 day. - Group global configuration keys together at the top of the preset.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Lock file maintenance updates existing constraints, not new versions — no stabilization period needed. Without this override, the global 3-day default would unnecessarily delay lock file PRs. (claude)
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refactors the Renovate configuration to enhance maintainability and reduce redundancy. It centralizes common automerge and release stabilization settings, applies a shorter stabilization period for trusted dependencies, and sets a global default for untrusted packages, resulting in a cleaner and more efficient configuration. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Config refactored, Defaults now reign, clean and clear, Bots merge with new speed. Footnotes
|
Summary
automergeType,automergeStrategy, andminimumReleaseAgeto top-leveldefaults — eliminates repetition across 8 rules
minimumReleaseAge: "3 days"default for untrusted packagesplatformAutomerge,automergeType,automergeStrategy,minimumReleaseAge,timezone) at the top of the fileChanges
automergeType/automergeStrategyminimumReleaseAgeminimumReleaseAge: "3 days"Net: -30 lines, +13 lines — DRYer and more maintainable.
Follow-up to #150.
Test plan
python3 -m json.tool renovate-presets.json)🤖 Generated with Claude Code