Skip to main content

Renovate Preset

The shared PagoPA DX Renovate preset lets repositories opt into DX-managed dependency update rules without changing centrally managed security configuration.

The preset is maintained in renovate-presets/default.json.

Enable the Preset​

Renovate must already be enabled for your repository. Add the following entry to the extends array in your existing Renovate configuration:

"github>pagopa/dx//renovate-presets/default"

For example, a root-level renovate.json using the recommended configuration becomes:

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"github>pagopa/dx//renovate-presets/default"
]
}

Keep any existing presets, security settings, and repository-specific rules. Adding this preset does not install Renovate or enable automatic merging. Repositories generated by the DX CLI already include this reference.

Keeping the Configuration Up to Date​

The reference follows the default branch of pagopa/dx, so consumers receive future preset changes without editing their extends entry. Refer to the preset source for the current rules.

Keep repository-specific customizations in your local Renovate configuration, and review dependency update pull requests before merging.

See the Renovate preset documentation for details on preset resolution and referencing a specific Git tag.