Skip to content

Commit f5fd4cf

Browse files
committed
Update code-oob.yml for Azure Pipelines
1 parent efae69e commit f5fd4cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.azure-pipelines/code-oob.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ stages:
111111
git push origin codeoob/${{ parameters.ServiceName }} --force;
112112
$Title = "Migrate ${{ parameters.ServiceName }} from oob to main"
113113
$HeadBranch = "codeoob/${{ parameters.ServiceName }}"
114-
$BaseBranch = "${{ parameters.TargetBranch }}"
115-
$Description = "Migrate ${{ parameters.ServiceName }} from oob to ${{parameters.TargetBranch}}"
114+
$BaseBranch = "$(Build.SourceBranchName)"
115+
$Description = "Migrate ${{ parameters.ServiceName }} from oob to $(Build.SourceBranchName)"
116116
./tools/Github/CreatePR.ps1 -Title $Title -HeadBranch $HeadBranch -BaseBranch $BaseBranch -BotAccessToken $Token -Description $Description -Draft $true
117117
displayName: Create PR to main branch
118118
condition: and(succeeded(), eq('$(NeedBumpUp)', 'true'))

0 commit comments

Comments
 (0)