From acdbf3e3392ed599fdcf0e0fd09ef19ef076bee4 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
 <41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 10 Jun 2022 11:55:50 -0700
Subject: [PATCH] Fix branch name in mirror pipeline (#42122)

Co-authored-by: William Godbe <wigodbe@microsoft.com>
---
 .azure/pipelines/azure-pipelines-mirror-within-azdo.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.azure/pipelines/azure-pipelines-mirror-within-azdo.yml b/.azure/pipelines/azure-pipelines-mirror-within-azdo.yml
index b8f2a85dc20..061eaf69c77 100644
--- a/.azure/pipelines/azure-pipelines-mirror-within-azdo.yml
+++ b/.azure/pipelines/azure-pipelines-mirror-within-azdo.yml
@@ -34,9 +34,9 @@ jobs:
         - name: AzdoRepo
           value: dotnet-aspnetcore
         - name: TargetBranchName
-          value: $(Build.SourceBranch)-nonstable
+          value: $(Build.SourceBranchName)-nonstable
         - name: BranchToMirror
-          value: $(Build.SourceBranch)
+          value: $(Build.SourceBranchName)
         steps:
         - script: |
             git clone https://dn-bot:$(dn-bot-dnceng-build-rw-code-rw)@dev.azure.com/dnceng/internal/_git/$(AzdoRepo) $(WorkingDirectoryName) --recursive --no-tags --branch $(TargetBranchName)
-- 
GitLab