From 4cf202d5b9e150db86650a411b2cdb1fb5cec45f Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sun, 16 Dec 2018 18:45:11 +0100
Subject: [PATCH] fix(github): paginate issues

---
 lib/platform/github/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/platform/github/index.js b/lib/platform/github/index.js
index 04dd8c6600..d550dac876 100644
--- a/lib/platform/github/index.js
+++ b/lib/platform/github/index.js
@@ -603,7 +603,7 @@ async function getIssueList() {
     const res = await get(
       `repos/${config.parentRepo ||
         config.repository}/issues?filter=created&state=open&per_page=100&sort=updated`,
-      { useCache: false }
+      { paginate: true, useCache: false }
     );
     // istanbul ignore if
     if (!is.array(res.body)) {
-- 
GitLab