File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,8 @@ stages:
111
111
git push origin codeoob/${{ parameters.ServiceName }} --force;
112
112
$Title = "Migrate ${{ parameters.ServiceName }} from oob to main"
113
113
$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) "
116
116
./tools/Github/CreatePR.ps1 -Title $Title -HeadBranch $HeadBranch -BaseBranch $BaseBranch -BotAccessToken $Token -Description $Description -Draft $true
117
117
displayName : Create PR to main branch
118
118
condition : and(succeeded(), eq('$(NeedBumpUp)', 'true'))
You can’t perform that action at this time.
0 commit comments