From 5ad377655ffeda1ae959f3a24147aecc7cca8a80 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@keylocation.sg> Date: Thu, 5 Oct 2017 11:07:15 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20don=E2=80=99t=20group=20lockFileMaintena?= =?UTF-8?q?nce=20update=20(#890)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Setting lockFileMaintenance.groupName = null will prevent the case where the user configures a repository groupName like “all” and then that group inherits the schedule of lock file maintenance. Instead, there will be renovate/all and renovate/lock-file-maintenance. Fixes #885 --- lib/config/definitions.js | 1 + test/config/__snapshots__/index.spec.js.snap | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/config/definitions.js b/lib/config/definitions.js index b9e799e022..a5c353af8a 100644 --- a/lib/config/definitions.js +++ b/lib/config/definitions.js @@ -507,6 +507,7 @@ const options = [ prTitle: template('prTitle', 'lock-file-maintenance'), prBody: template('prBody', 'lock-file-maintenance'), schedule: ['before 5am on monday'], + groupName: null, }, cli: false, mergeable: true, diff --git a/test/config/__snapshots__/index.spec.js.snap b/test/config/__snapshots__/index.spec.js.snap index afa5515716..3fade9624a 100644 --- a/test/config/__snapshots__/index.spec.js.snap +++ b/test/config/__snapshots__/index.spec.js.snap @@ -5,6 +5,7 @@ Object { "branchName": "{{branchPrefix}}lock-file-maintenance", "commitMessage": "Update lock file", "enabled": true, + "groupName": null, "prBody": "This {{#if isGitHub}}Pull{{else}}Merge{{/if}} Request updates \`package.json\` lock files to use the latest dependency versions. {{#if schedule}} -- GitLab