Skip to content

Update renovate config#155

Closed
AlexSkrypnyk wants to merge 1 commit intodevelopfrom
feature/repo-ranger-renovate
Closed

Update renovate config#155
AlexSkrypnyk wants to merge 1 commit intodevelopfrom
feature/repo-ranger-renovate

Conversation

@AlexSkrypnyk
Copy link
Copy Markdown
Member

@AlexSkrypnyk AlexSkrypnyk commented Mar 17, 2026

Updated renovate config via 🤠 RepoRanger.

Summary by CodeRabbit

  • Chores
    • Streamlined dependency management configuration to enable automatic merging of updates, improve dependency visibility through a dashboard, and simplify the overall update process.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 17, 2026

📝 Walkthrough

Walkthrough

Simplifies the Renovate configuration by consolidating granular settings into a streamlined setup. Removes legacy groups, scheduling rules, custom managers, timezone settings, and other metadata. Enables automerge, dependencyDashboard, and pinDigests while preserving core functionality through reduced configuration complexity.

Changes

Cohort / File(s) Summary
Renovate Configuration
renovate.json
Consolidates packageRules and grouping strategy; removes timezone, configMigration, labels, assignees, and enabledManagers; enables automerge and dependencyDashboard; replaces specialized group blocks with single all-dependencies group using broad matching.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update renovate config' is directly related to the main change—simplifying and updating the renovate.json configuration file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/repo-ranger-renovate
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@renovate.json`:
- Around line 24-28: Summary: current group rule uses matchPackageNames: ["*"]
(groupName: "all", groupSlug: "all") which groups every dependency into one PR;
change it to safer grouping. Replace the wildcard group by creating targeted
groups instead (e.g., group by ecosystem or update type) by adding multiple
objects that use matchPackagePatterns or matchDepTypes/matchUpdateTypes (or
matchPackageNames with specific lists) so that runtime, dev, and
ecosystem-specific deps are split; ensure automerge/pr settings are applied
per-group as desired and remove or narrow the global "*" group to avoid blocking
all updates on a single failure.
- Around line 10-11: The config mixes Renovate matchers—use matchDepNames
consistently instead of matchPackageNames; replace occurrences of
"matchPackageNames": ["*"] with "matchDepNames": ["*"] (and ensure other rules
using "matchPackageNames" are updated similarly), keeping existing rule values
like ["php"] and ["node"] unchanged so all rules uniformly use matchDepNames.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 95e9611e-5bd0-474d-85e2-2541ad89dc82

📥 Commits

Reviewing files that changed from the base of the PR and between 8a46f3d and 2cd3590.

📒 Files selected for processing (1)
  • renovate.json

Comment thread renovate.json
Comment on lines +10 to +11
"matchDepNames": ["php"],
"matchManagers": ["composer"],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial

🧩 Analysis chain

🌐 Web query:

Renovate matchPackageNames vs matchDepNames deprecation

💡 Result:

matchDepNames is not deprecated in Renovate. It’s a supported matcher, and it’s documented as behaving like matchPackageNames but matching against depName instead of packageName. [1]

How to choose:

  • Use matchPackageNames when you want to match Renovate’s canonical packageName (the exact identifier Renovate uses to look up the dependency in a registry). [2]
  • Use matchDepNames when you want to match the user-facing depName (often the “pretty”/short name used in PR titles/branch names). [1][3]

Why this matters: depName and packageName are often the same, but not always (e.g., some ecosystems/managers expand packageName to a more specific identifier), so switching between the two can change what your rule matches. [3]

Sources:
[1] https://docs.renovatebot.com/configuration-options/ (packageRules.matchDepNames)
[2] https://docs.renovatebot.com/configuration-options/ (packageRules.matchPackageNames)
[3] https://docs.renovatebot.com/faq/ (depName vs packageName)


Use matchDepNames consistently throughout the configuration.

Both matchDepNames and matchPackageNames are supported matchers in Renovate, but they serve different purposes: matchDepNames matches user-facing dependency names, while matchPackageNames matches canonical package identifiers. The configuration mixes both—using matchDepNames for ["php"] and ["node"] (lines 10, 15) but matchPackageNames for ["*"] (line 25). For clarity and consistency with the existing rules, use matchDepNames throughout.

♻️ Proposed fix for consistency
         {
-            "matchPackageNames": ["*"],
+            "matchDepNames": ["*"],
             "groupName": "all dependencies",
             "groupSlug": "all"
         }
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@renovate.json` around lines 10 - 11, The config mixes Renovate matchers—use
matchDepNames consistently instead of matchPackageNames; replace occurrences of
"matchPackageNames": ["*"] with "matchDepNames": ["*"] (and ensure other rules
using "matchPackageNames" are updated similarly), keeping existing rule values
like ["php"] and ["node"] unchanged so all rules uniformly use matchDepNames.

Comment thread renovate.json
Comment on lines 24 to 28
{
"groupName": "GitHub Actions - All - Major, minor and patch",
"groupSlug": "github-actions-all-major-minor-patch",
"schedule": [
"before 3am"
],
"matchManagers": [
"github-actions"
],
"pinDigests": true
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"/^docker-compose\\.yml$/"
],
"matchStrings": [
"IMAGE:\\s*\"?\\${(?:.*):-(?<depName>.*?):(?<currentValue>.*?)(?:\\@sha256:.*)?}\"?"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
"matchPackageNames": ["*"],
"groupName": "all dependencies",
"groupSlug": "all"
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial

Consider the implications of grouping all dependencies.

Grouping all dependencies into a single PR (matchPackageNames: ["*"]) with automerge enabled means all minor/patch updates will be merged together. This simplifies management but:

  1. A single failing dependency could block all other updates.
  2. If issues arise post-merge, it's harder to identify which dependency caused the problem.

If this is the intended workflow for this repository, this is acceptable. Otherwise, consider grouping by ecosystem or update type.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@renovate.json` around lines 24 - 28, Summary: current group rule uses
matchPackageNames: ["*"] (groupName: "all", groupSlug: "all") which groups every
dependency into one PR; change it to safer grouping. Replace the wildcard group
by creating targeted groups instead (e.g., group by ecosystem or update type) by
adding multiple objects that use matchPackagePatterns or
matchDepTypes/matchUpdateTypes (or matchPackageNames with specific lists) so
that runtime, dev, and ecosystem-specific deps are split; ensure automerge/pr
settings are applied per-group as desired and remove or narrow the global "*"
group to avoid blocking all updates on a single failure.

@github-actions
Copy link
Copy Markdown

Code coverage (GitHub Actions)

Code Coverage Report:
  2026-03-17 20:49:12

 Summary:
  Classes: 50.00% (5/10)
  Methods: 73.91% (17/23)
  Lines:   92.81% (310/334)

Drupal\do_feed\FeedUrlBuilder
  Methods: 100.00% ( 4/ 4)   Lines: 100.00% ( 18/ 18)
Drupal\do_feed\Form\FeedSettingsForm
  Methods: 100.00% ( 4/ 4)   Lines: 100.00% ( 15/ 15)
Drupal\do_feed\Hook\EntityDeleteHook
  Methods:  50.00% ( 1/ 2)   Lines:  92.31% ( 12/ 13)
Drupal\do_feed\Hook\EntityPresaveHook
  Methods: 100.00% ( 4/ 4)   Lines: 100.00% ( 54/ 54)
Drupal\do_feed\Hook\PreprocessParagraphHook
  Methods: 100.00% ( 2/ 2)   Lines: 100.00% ( 14/ 14)
Drupal\do_feed\Hook\PreprocessViewsViewRowRssHook
  Methods: 100.00% ( 1/ 1)   Lines: 100.00% (  3/  3)
Drupal\do_feed\Hook\ViewsPreViewHook
  Methods:  50.00% ( 1/ 2)   Lines:  96.43% ( 27/ 28)

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.73%. Comparing base (8a46f3d) to head (2cd3590).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #155   +/-   ##
========================================
  Coverage    87.73%   87.73%           
========================================
  Files           11       11           
  Lines          163      163           
========================================
  Hits           143      143           
  Misses          20       20           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AlexSkrypnyk AlexSkrypnyk requested a deployment to PR-155 March 17, 2026 09:56 Abandoned
@AlexSkrypnyk AlexSkrypnyk deleted the feature/repo-ranger-renovate branch March 17, 2026 09:57
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