From ec34d136cf7fce2a55822fa1be426d500e291be4 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Sat, 17 Mar 2018 15:32:43 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20don=E2=80=99t=20have=20blocking=20pin=20?= =?UTF-8?q?PRs=20when=20in=20mirror=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/workers/repository/write.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/workers/repository/write.js b/lib/workers/repository/write.js index 0fef225a26..e548008416 100644 --- a/lib/workers/repository/write.js +++ b/lib/workers/repository/write.js @@ -10,7 +10,7 @@ module.exports = { async function writeUpdates(config) { let { branches } = config; logger.info(`Processing ${branches.length} branch(es)`); - if (branches.some(upg => upg.isPin)) { + if (!config.mirrorMode && branches.some(upg => upg.isPin)) { branches = branches.filter(upg => upg.isPin); logger.info(`Processing ${branches.length} "pin" PRs first`); } -- GitLab