Skip to content

Commit

Permalink
fix(github): don’t filter PRs if in fork mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Sep 23, 2020
1 parent aa95924 commit 2ac6c39
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/platform/github/index.ts
Expand Up @@ -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) =>
Expand Down

0 comments on commit 2ac6c39

Please sign in to comment.