Skip to content

chore(dependabot): ignore React Router and Babel major upgrades (AI-assisted) - #12847

Merged
slorber merged 2 commits into
mainfrom
claude/dependabot-ignore-rule-a34725
Nov 5, 2026
Merged

slorber merged 2 commits into
mainfrom
claude/dependabot-ignore-rule-a34725

Conversation

@slorber

@slorber slorber commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

Dependabot opened PRs for major upgrades we don't want yet:

Commenting @dependabot ignore this major version doesn't work on grouped updates: Dependabot asks to configure an ignore rule instead.

This adds ignore rules for the major upgrades of these groups:

Minor and patch upgrades are still proposed.

Test Plan

  • pnpm lint:catalogs passes (it parses dependabot.yml groups).
  • oxfmt --check .github/dependabot.yml passes.
  • GitHub validates dependabot.yml when it's merged: an invalid config shows an error in the repository's Dependabot settings.

Test links

Deploy preview: https://deploy-preview-12847--docusaurus-2.netlify.app/

Related issues/PRs

(AI-assisted)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Major-version update proposals for selected routing and Babel packages are now excluded from automated update reviews. Other update types for those packages remain eligible. This change affects update management only; it does not change app behavior or features available to users.

Dependabot can't ignore grouped updates with a "@dependabot ignore" comment.
React Router major upgrades need a manual migration, planned for Docusaurus v4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@slorber
slorber requested a review from Josh-Cena as a code owner November 5, 2026 10:25
@slorber slorber added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label Nov 5, 2026
@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label Nov 5, 2026
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The npm Dependabot configuration now ignores semver-major updates for react-router, react-router-dom, and @babel/*. These rules do not exclude other update types.

Changes: Dependabot update rules

Layer / File(s) Summary
Major-update ignores
.github/dependabot.yml
The npm configuration ignores semver-major updates for react-router, react-router-dom, and @babel/*.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

Merge Risk: Minimal · up to 5311a

The Dependabot configuration is limited to the stated major-version ignores and is mergeable.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: adding Dependabot rules to ignore major React Router and Babel upgrades.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9fadb6d5-0c3a-41ae-9887-26621da2d65f
Commits

Reviewing files that changed from the base of the PR and between 6d7cf86 and 5311aa4.

Files selected for processing: 1

  • .github/dependabot.yml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

@netlify

netlify Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

✅ [V2]

Name Link
🔨 Latest commit 5311aa4
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6aec5a36e3608376017498fe
😎 Deploy Preview https://deploy-preview-12847--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

We postponed the Babel 8 upgrade in #12408.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@slorber slorber changed the title chore(dependabot): ignore React Router major upgrades (AI-assisted) chore(dependabot): ignore React Router and Babel major upgrades (AI-assisted) Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🟠 59 🟢 98 🟢 100 🟢 100 Report
/docs/installation 🟠 57 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 65 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 64 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 66 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 69 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 70 🟢 100 🟢 100 🟠 86 Report

@slorber
slorber merged commit 8b0e955 into main Nov 5, 2026
20 of 21 checks passed
@slorber
slorber deleted the claude/dependabot-ignore-rule-a34725 branch November 5, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant