From f776ba116a02ce4f9d9043d0d4d78db5a0fa1b3e Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Mon, 6 Jan 2025 15:30:03 -0500 Subject: [PATCH] make ignorePaths explicit, removing examples from default --- renovate.json5 | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index b9f352a..effce25 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -2,18 +2,15 @@ extends: [ 'config:best-practices', ':rebaseStalePrs', + 'customManagers:dockerfileVersions', ], - dockerfile: { - fileMatch: [".*Dockerfile$"], - }, - customManagers: [ - { - customType: "regex", - fileMatch: [".*Dockerfile$"], - matchStrings: [ - "# renovate: datasource=(?[a-z-.]+?) depName=(?[^\\s]+?)(?: (lookupName|packageName)=(?[^\\s]+?))?(?: versioning=(?[^\\s]+?))?(?: extractVersion=(?[^\\s]+?))?(?: registryUrl=(?[^\\s]+?))?\\s(?:ENV|ARG)\\s+[A-Za-z0-9_]+?_VERSION[ =][\"']?(?.+?)[\"']?\\s" - ] - } + ignorePaths: [ + "**/node_modules/**", + "**/bower_components/**", + "**/vendor/**", + "**/__tests__/**", + "**/tests/**", + "**/__fixtures__/**" ], packageRules: [ {