diff --git a/lib/modules/platform/azure/index.ts b/lib/modules/platform/azure/index.ts index 21bd44eaa3f58c..9200f0e37dbdbf 100644 --- a/lib/modules/platform/azure/index.ts +++ b/lib/modules/platform/azure/index.ts @@ -259,7 +259,11 @@ export async function getPrList(): Promise { do { fetchedPrs = await azureApiGit.getPullRequests( config.repoId, - { status: 4 }, + { + status: 4, + // fetch only prs directly created on the repo and not by forks + sourceRepositoryId: config.project, + }, config.project, 0, skip,