Skip to content

chore: use shared renovate config#96

Merged
chenjiahan merged 1 commit into
mainfrom
renovate_config_0303
Mar 3, 2026
Merged

chore: use shared renovate config#96
chenjiahan merged 1 commit into
mainfrom
renovate_config_0303

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

This pull request updates the Renovate configuration to use a shared configuration preset, simplifying and standardizing dependency management settings.

Copilot AI review requested due to automatic review settings March 3, 2026 03:24
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 streamlines dependency management by adopting a centralized Renovate configuration. This change replaces a custom, detailed local setup with a single reference to a shared preset, aiming to standardize and simplify how dependencies are updated across projects.

Highlights

  • Renovate Configuration: Updated the Renovate configuration to use a shared preset from github>rstackjs/renovate, simplifying the local configuration.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • .github/renovate.json5
    • Switched to using a shared Renovate configuration preset.
Activity
  • No specific activity (comments, reviews, or progress updates) has been recorded for this pull request yet.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@chenjiahan chenjiahan merged commit af3e8ab into main Mar 3, 2026
5 checks passed
@chenjiahan chenjiahan deleted the renovate_config_0303 branch March 3, 2026 03:24

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Renovate configuration to use a shared preset, which is a good practice for standardizing dependency management. The change is straightforward and replaces the local configuration with a reference to a shared one. I have reviewed the changes and found no issues.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s Renovate configuration to rely on a shared preset (github>rstackjs/renovate) instead of locally defined rules, aiming to centralize and standardize dependency update behavior.

Changes:

  • Replaces the local Renovate extends list with a shared preset reference.
  • Removes locally defined rangeStrategy and packageRules (peerDependencies disabled).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/renovate.json5
extends: ['config:base', 'schedule:monthly', 'group:allNonMajor'],
rangeStrategy: 'bump',
packageRules: [{ depTypeList: ['peerDependencies'], enabled: false }],
extends: ['github>rstackjs/renovate'],

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using extends: ['github>rstackjs/renovate'] without a ref/tag means the effective Renovate config can change whenever that repo updates, which can unexpectedly alter dependency update behavior in this repo. Consider pinning the preset to a specific tag/commit (and updating intentionally) to make Renovate behavior reproducible.

Suggested change
extends: ['github>rstackjs/renovate'],
extends: ['github>rstackjs/renovate#1.0.0'],

Copilot uses AI. Check for mistakes.
Comment thread .github/renovate.json5
extends: ['config:base', 'schedule:monthly', 'group:allNonMajor'],
rangeStrategy: 'bump',
packageRules: [{ depTypeList: ['peerDependencies'], enabled: false }],
extends: ['github>rstackjs/renovate'],

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switching to the shared preset removes the previously explicit settings (monthly schedule, grouping all non-major, rangeStrategy=bump, and disabling peerDependencies updates). If the shared preset doesn’t include equivalent rules, Renovate behavior will change (e.g., peerDependencies PRs may start appearing). Consider either confirming the preset matches these behaviors or re-adding local overrides for any repo-specific requirements.

Suggested change
extends: ['github>rstackjs/renovate'],
extends: ['github>rstackjs/renovate'],
// Run Renovate on a monthly schedule
schedule: ['before 5am on the first day of the month'],
// Local package rules to preserve previous behavior
packageRules: [
{
// Group all non-major dependency updates together
matchUpdateTypes: ['minor', 'patch'],
groupName: 'all non-major dependencies',
groupSlug: 'all-non-major',
rangeStrategy: 'bump',
},
{
// Disable updates to peerDependencies
matchDepTypes: ['peerDependencies'],
enabled: false,
},
],

Copilot uses AI. Check for mistakes.
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