From 858f26b58670e732609367e6b23ebeab3b1080c6 Mon Sep 17 00:00:00 2001 From: Marko Reiprecht <jessebluemr@web.de> Date: Fri, 14 Feb 2025 08:34:17 +0100 Subject: [PATCH] fix(platform/azure): Add current project id as sourceRepositoryId to azure getPrList (#32991) --- lib/modules/platform/azure/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/modules/platform/azure/index.ts b/lib/modules/platform/azure/index.ts index 0fd6bb8cce..35da0f7eff 100644 --- a/lib/modules/platform/azure/index.ts +++ b/lib/modules/platform/azure/index.ts @@ -261,7 +261,11 @@ export async function getPrList(): Promise<AzurePr[]> { 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, -- GitLab