diff --git a/lib/workers/repository/write.js b/lib/workers/repository/write.js index 0fef225a260c0f2f0b8c6b487e1c9ff772631c5a..e548008416475c58ca2538cfb366124f2013c008 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`); }