Skip to content

chore: enable examples updates with Renovate#1691

Merged
jennifer-shehane merged 1 commit intocypress-io:masterfrom
MikeMcC399:renovate-add-examples
Mar 19, 2026
Merged

chore: enable examples updates with Renovate#1691
jennifer-shehane merged 1 commit intocypress-io:masterfrom
MikeMcC399:renovate-add-examples

Conversation

@MikeMcC399
Copy link
Copy Markdown
Collaborator

@MikeMcC399 MikeMcC399 commented Mar 19, 2026

Situation

When a new version of Cypress is released, it is being updated in the examples sub-directories by manually running scripts/update-cypress-latest.sh on Ubuntu and then manually submitting a PR with the changes.

Renovate is already established in this repo, however the settings in renovate.json include extend from config:recommended, which includes :ignoreModulesAndTests with ignorePaths for "**/examples/**".

Change

Modify the renovate.json configuration to update the examples sub-directories by overriding the ignorePaths preset from :ignoreModulesAndTests.

Initially only devDependencies (including cypress) are targeted, due to a global exclusion of dependencies. This may be enhanced to include dependencies in examples only, in a later step. (Allowing Renovate to update dependencies in the root of the repo does not work because the action needs to be rebuilt in this case, and there is no available workflow to do this task.)

Verification

npx --yes --package renovate -- renovate-config-validator

Note

Low Risk
Low risk config-only change that affects which paths Renovate scans; main impact is increased dependency update PRs from examples folders.

Overview
Updates renovate.json to explicitly set ignorePaths to only **/node_modules/**, overriding the config:recommended preset’s broader path ignores so Renovate can propose dependency updates inside the examples directories.

Written by Cursor Bugbot for commit a0e5180. This will update automatically on new commits. Configure here.

@cypress-app-bot
Copy link
Copy Markdown

@MikeMcC399 MikeMcC399 added type: enhancement New feature or request renovate labels Mar 19, 2026
@MikeMcC399 MikeMcC399 self-assigned this Mar 19, 2026
@MikeMcC399 MikeMcC399 marked this pull request as ready for review March 19, 2026 09:15
@jennifer-shehane jennifer-shehane merged commit a54417f into cypress-io:master Mar 19, 2026
89 checks passed
@MikeMcC399 MikeMcC399 deleted the renovate-add-examples branch March 19, 2026 12:04
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 7.1.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants