chore(deps): enable Renovate automerge for non-major updates#13807
chore(deps): enable Renovate automerge for non-major updates#13807chenjiahan merged 3 commits intomainfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request moves the Renovate configuration to .github/renovate.json and introduces several package grouping and automerge rules. Feedback suggests enabling platformAutomerge for better GitHub integration, reordering the all patch dependencies rule to avoid overriding specific package groups, and excluding minor updates from automerge to reduce the risk of regressions.
There was a problem hiding this comment.
Pull request overview
Enables Renovate auto-merge for non-major dependency updates and migrates the Renovate configuration from JSON5 to JSON.
Changes:
- Add an automerge rule for minor/patch/pin/digest updates.
- Move Renovate config from
.github/renovate.json5to.github/renovate.jsonand remove inline comments.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/renovate.json5 | Removed JSON5-based Renovate configuration. |
| .github/renovate.json | Added JSON-based Renovate configuration with non-major automerge rules. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| }, | ||
| { | ||
| "groupName": "all patch dependencies", | ||
| "groupSlug": "all-patch", | ||
| "matchPackagePatterns": ["*"], | ||
| "matchUpdateTypes": ["patch"] | ||
| }, | ||
| { | ||
| "matchUpdateTypes": ["minor", "patch", "pin", "digest"], |
There was a problem hiding this comment.
The previous Renovate config included a dedicated grouping rule for Vite updates, but the migrated .github/renovate.json no longer has an equivalent packageRule. This changes Renovate behavior (Vite-related updates will no longer be grouped) and isn’t mentioned in the PR summary. If the grouping is still desired, add the missing Vite group rule back in the JSON config (matching the prior json5 behavior).
Before submitting a pull request, please read the contributing guide.
在提交 pull request 之前,请阅读 贡献指南。
Summary
Testing
jq empty .github/renovate.jsonpnpm exec prettier -c .github/renovate.jsonRelated Links