chore: add Renovate configuration#306
Merged
jennifer-shehane merged 1 commit intocypress-io:masterfrom Mar 18, 2026
Merged
Conversation
|
There was a problem hiding this comment.
Pull request overview
Adds Renovate configuration to automate dependency update PRs for this repository, addressing #238 and aligning the repo with dependency update automation used in other Cypress projects.
Changes:
- Add
renovate.jsonwith recommended base preset and dependency dashboard enabled - Enable automerge for non-major updates while disabling automerge for major updates
- Configure update limits, range bumping, lockfile maintenance, labels, and grouping for ESLint-related dependencies
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Collaborator
Author
Additional tasksThe following tasks cannot be carried out through a PR and need admin privileges: Add labels
Enable RenovateActivate Renovate for this repo. It should then show on https://developer.mend.io/github/cypress-io under the list of "Installed Repositories" with "Renovate Status": |
ca2b7fe to
46c6f80
Compare
jennifer-shehane
approved these changes
Mar 18, 2026
Collaborator
Author
|
Thank you for merging! Will you now enable Renovate for this repo? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Situation
Currently all dependency updates in this repo have to be done manually.
Unlike other active repos owned by
cypress-io, this repo has not been set up to use Renovate.Change
Add a
renovate.jsonconfiguration (see https://docs.renovatebot.com/config-overview/)Configuration Notes
allow automerge except for major version updates. Note that with branch protection rules, this still means that each PR needs to be manually approved before Renovate automerges. Major version updates require the extra step of being manually merged after having been approved.
ci tests run in CircleCI using the circle.yml configuration. Since the associated tests are not testing against specific websites, as is the case in other
cypress-iorepos, special settings for prConcurrentLimit (default 10) or prHourlyLimit (default 2) are not needed. For transparency, they are however explicitly set to their default values in the configuration.rangeStrategy set to
bumpwill bump the range. For example"eslint": "^10.0.2"would be bumped to"eslint": "^10.0.3".lockfilemaintenance runs by default once a week on Mondays
labels specified are
type: dependenciesandrenovateas used in other Cypress repos. These labels do not currently exist in this repo and need to be added.ESlint-related dependencies are grouped together. Especially
eslintand@eslint/jsare often updated together, and this reduces the number of generated PRs. (globalsis not grouped witheslint, although it is related, since it is listed independenciesrather than indevDependenciesand will trigger a package release if updated. It therefore needs to be kept separate.)Verification
Note
Low Risk
Low risk: this only introduces Renovate configuration and does not change runtime or library code; the main impact is increased automated dependency PR activity/automerge behavior.
Overview
Introduces a repository-level
renovate.jsonto enable Renovate-managed dependency update PRs, including a dependency dashboard and lockfile maintenance.Configures automerge for non-major updates (with majors requiring manual merge), bumps version ranges via
rangeStrategy: "bump", applies standard labels, and groups ESLint-related packages into a single update stream.Written by Cursor Bugbot for commit ca2b7fe. This will update automatically on new commits. Configure here.