From 2ac6c392c27c3fd423a3f88d9d9221fb581b2368 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Wed, 23 Sep 2020 05:14:11 +0200 Subject: [PATCH] =?UTF-8?q?fix(github):=20don=E2=80=99t=20filter=20PRs=20i?= =?UTF-8?q?f=20in=20fork=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/platform/github/index.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/platform/github/index.ts b/lib/platform/github/index.ts index 19ccdefdfc..86a461f69d 100644 --- a/lib/platform/github/index.ts +++ b/lib/platform/github/index.ts @@ -708,9 +708,12 @@ export async function getPrList(): Promise<Pr[]> { } config.prList = prList .filter((pr) => { - return pr?.user?.login && config?.renovateUsername - ? pr.user.login === config.renovateUsername - : true; + return ( + config.forkMode || + (pr?.user?.login && config?.renovateUsername + ? pr.user.login === config.renovateUsername + : true) + ); }) .map( (pr) => -- GitLab