Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"prConcurrentLimit": 5,
"prHourlyLimit": 1,
"packageRules": [
{
"matchPackageNames": ["cypress"],
"matchFileNames": ["examples/**"],
"enabled": true
},

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

packageRules cannot override ignorePaths file exclusion

High Severity

The config:recommended preset includes :ignoreModulesAndTests, which sets ignorePaths to include "**/examples/**". This causes Renovate to skip discovering and parsing package files in examples/ directories entirely during the file discovery phase—before packageRules are ever evaluated. The new packageRules entry with "enabled": true and "matchFileNames": ["examples/**"] will never match anything because no packages from those paths exist in Renovate's processing pipeline. The config needs to override ignorePaths (which is non-mergeable) or use "ignorePresets": [":ignoreModulesAndTests"] to actually allow Renovate to discover those package files.

Fix in Cursor Fix in Web

{
"matchDepTypes": ["dependencies"],
"enabled": false
Expand Down
Loading