Skip to content
Antoine Le LouëtIndependent senior developer (Home)
Back to the Journal

Workshop2 min read

Renovate or Dependabot: how should you organise updates?

Compare configurations on a demonstration manifest and define an update queue the team can actually verify.

Grouping calls for shared validation; the update schedule must respect review capacity.
An update queue must remain compatible with the time available to review it.

Choose a tool alongside processing capacity

Receiving update proposals helps only if someone can verify them. For a demonstration repository with npm dependencies, I would start with a limited group of compatible updates and a person responsible for examining them. The cadence should match that capacity.

Renovate and Dependabot can group and schedule updates according to their configuration. Their exact options and operating modes differ. The lab compares configuration files against the same manifest; it does not measure two bots installed on GitHub.

A limited Dependabot example

YAML · lab example
version: 2
updates:
  - package-ecosystem: npm
    directory: /
    schedule:
      interval: weekly
    open-pull-requests-limit: 3
    groups:
      dev-compatible:
        dependency-type: development
        update-types: [minor, patch]

Grouping here targets development dependencies with minor or patch updates. The version PR limit is not a general limit on security updates, which have their own rules in GitHub’s documentation. The YAML was parsed locally to check syntax. This check validates neither the full Dependabot option schema nor bot execution.

Comparable grouping with Renovate

JSON · lab example
{
  "extends": [
    "config:recommended"
  ],
  "automerge": false,
  "prConcurrentLimit": 3,
  "packageRules": [
    {
      "matchDepTypes": [
        "devDependencies"
      ],
      "matchUpdateTypes": [
        "minor",
        "patch"
      ],
      "groupName": "dev-compatible"
    }
  ]
}

Renovate allows selecting dependencies through rules and naming a group. The supporting file was checked using config-validator from Renovate 44.171.1. The configuration remains a starting point: enabled managers, presets and access determine what the bot can propose.

Scheduling can define windows for creating proposals; the bot’s host must also run it at the appropriate time. Validate this behaviour in the demonstration repository before promising a precise cadence.

Compare the evidence you can maintain

  • Configuration: does the team understand the rules and know how to find why a dependency was grouped?
  • Alerts: who receives security advisories, and how is their exposure assessed separately from the ordinary queue?
  • Verification: which test covers the affected behaviour, and who reads the migration guide?
  • Operations: what access and monitoring does the chosen bot mode require?

Grouping reduces PR count and sometimes broadens the scope to diagnose when a test fails. Separating a major migration or urgent fix may make verification easier. Automatic merging would require reliable checks, an authorised scope and a verified rollback. It is enabled neither on the site nor in these examples.

Sources and useful links

Share on LinkedIn (new tab)

Keep reading
All articles in this category