This repository demonstrates using Renovate to perform selective package updates targeting CVE-fixed versions, instead of updating everything to latest.
package.jsonwith an intentionally vulnerable version oflodash(4.17.19). Renovate should propose updating only to>= 4.17.21 < 5.Dockerfilepinned toalpine:3.19.0. Renovate should propose updating only to the3.20.xline.renovate.jsonconfiguration that:- Disables all updates by default
- Enables only selected security-related updates with
allowedVersions - Labels these PRs with
securityandcve-fix
- Renovate opens a PR to update
lodashfrom4.17.19to a fixed patch in the4.xline (>=4.17.21 <5). - Renovate opens a PR to update the Docker base image from
alpine:3.19.0to the latest3.20.xtag. - No other dependencies should be updated.