From a0cb599f03731134a6be5f33a8454eed29e96f00 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sat, 17 Nov 2018 11:00:32 +0100
Subject: [PATCH] fix(github): getIssueList get last 100 sorted by updated

filter=created does not seem to work for apps.

Fixes #2747
---
 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 2d114e8e5c..a3d6ab77aa 100644
--- a/lib/platform/github/index.js
+++ b/lib/platform/github/index.js
@@ -596,7 +596,7 @@ async function getIssueList() {
     logger.debug('Retrieving issueList');
     const res = await get(
       `repos/${config.parentRepo ||
-        config.repository}/issues?filter=created&state=open`,
+        config.repository}/issues?filter=created&state=open&per_page=100&sort=updated`,
       { useCache: false }
     );
     // istanbul ignore if
-- 
GitLab