From d5d2cd8758bf7a023848d4a4f8bf0899ec85519b Mon Sep 17 00:00:00 2001 From: Saikrishna Arcot Date: Thu, 19 Oct 2023 15:09:57 -0700 Subject: [PATCH] Try to pull target branch's sonic-buildimage Signed-off-by: Saikrishna Arcot --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6c1be77b..21f8c656 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,6 +13,7 @@ resources: type: github name: sonic-net/sonic-buildimage endpoint: build + ref: ${{ coalesce(System.PullRequest.TargetBranch, Build.SourceBranchName) }} variables: - name: BUILD_BRANCH