Skip to content

Commit 60135e3

Browse files
committed
azure-pipelines: fix target branch
As the variable name states, the target branch should contain information about the branch against which the new commits / pull request are redirected. Currently the variable contains the name of the branch on which the commits are made (source branch). Update the variable value accordingly. Signed-off-by: Antoniu Miclaus <[email protected]>
1 parent 8b2aa40 commit 60135e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pr:
1010

1111
variables:
1212
runCondition: true
13-
targetBranch: $[ variables['Build.SourceBranchName'] ]
13+
targetBranch: $[ variables['System.PullRequest.TargetBranchName'] ]
1414

1515
jobs:
1616
- job: LinuxBuilds

0 commit comments

Comments
 (0)