Skip to content

chore(deps): enable Renovate automerge for non-major updates#13807

Merged
chenjiahan merged 3 commits intomainfrom
chenjiahan/chore-renovate-automerge
Apr 4, 2026
Merged

chore(deps): enable Renovate automerge for non-major updates#13807
chenjiahan merged 3 commits intomainfrom
chenjiahan/chore-renovate-automerge

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Before submitting a pull request, please read the contributing guide.

在提交 pull request 之前,请阅读 贡献指南

Summary

  • enable auto-merge for non-major Renovate updates, including minor, patch, pin, and digest changes
  • migrate the Renovate config from JSON5 to JSON and remove inline comments

Testing

  • jq empty .github/renovate.json
  • pnpm exec prettier -c .github/renovate.json

Related Links

  • None

Copy link
Copy Markdown

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

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 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.

@chenjiahan chenjiahan marked this pull request as ready for review April 4, 2026 01:15
Copilot AI review requested due to automatic review settings April 4, 2026 01:15
@chenjiahan chenjiahan enabled auto-merge (squash) April 4, 2026 01:16
@chenjiahan chenjiahan merged commit 19f713c into main Apr 4, 2026
6 checks passed
@chenjiahan chenjiahan deleted the chenjiahan/chore-renovate-automerge branch April 4, 2026 01:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.json5 to .github/renovate.json and 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.

Comment on lines +10 to +18
},
{
"groupName": "all patch dependencies",
"groupSlug": "all-patch",
"matchPackagePatterns": ["*"],
"matchUpdateTypes": ["patch"]
},
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

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).

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