diff --git a/lib/modules/platform/github/index.ts b/lib/modules/platform/github/index.ts index 1298d0f908f04c..93488565ba630a 100644 --- a/lib/modules/platform/github/index.ts +++ b/lib/modules/platform/github/index.ts @@ -855,9 +855,10 @@ export async function findPr({ if (includeOtherAuthors) { const repo = config.parentRepo ?? config.repository; + const org = repo?.split('/')[0]; // PR might have been created by anyone, so don't use the cached Renovate PR list const { body: prList } = await githubApi.getJson( - `repos/${repo}/pulls?head=${repo}:${branchName}&state=open`, + `repos/${repo}/pulls?head=${org}:${branchName}&state=open`, { cacheProvider: repoCacheProvider }, );