From a548837b7bf5c9a3a82283df70267130f5199ac7 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Tue, 4 Sep 2018 18:35:42 +0200
Subject: [PATCH] fix: maintainer_can_modify for forked PRs

Closes #2476
---
 lib/platform/github/index.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/platform/github/index.js b/lib/platform/github/index.js
index 348562512b..23ea6e092b 100644
--- a/lib/platform/github/index.js
+++ b/lib/platform/github/index.js
@@ -798,6 +798,7 @@ async function createPr(
   // istanbul ignore if
   if (config.forkToken) {
     options.token = config.forkToken;
+    options.body.maintainer_can_modify = true;
   }
   logger.debug({ title, head, base }, 'Creating PR');
   const pr = (await get.post(
-- 
GitLab