From bc10487082ed00797862ab9e79748b06b4c9e01b Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sat, 27 Feb 2021 09:48:11 +0100
Subject: [PATCH] =?UTF-8?q?fix:=20don=E2=80=99t=20Object.assign=20first=20?=
 =?UTF-8?q?upgrade=20over=20config=20(#8892)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
---
 lib/workers/pr/index.ts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/workers/pr/index.ts b/lib/workers/pr/index.ts
index a438e24dd5..bb038eefda 100644
--- a/lib/workers/pr/index.ts
+++ b/lib/workers/pr/index.ts
@@ -284,8 +284,6 @@ export async function ensurePr(
     config.upgrades.push(upgrade);
   }
 
-  // Update the config object
-  Object.assign(config, upgrades[0]);
   config.hasReleaseNotes = config.upgrades.some((upg) => upg.hasReleaseNotes);
 
   const releaseNoteRepos: string[] = [];
-- 
GitLab