Skip to content

Commit d78dcf0

Browse files
committed
Update pull request branch logic
1 parent 8a12b37 commit d78dcf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pipelines/1p-e2e.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ variables:
55
${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/') }}:
66
sourceBranchName: ${{ replace(variables['Build.SourceBranch'], 'refs/heads/', '') }}
77
${{ if startsWith(variables['System.PullRequest.SourceBranch'], 'refs/pull/') }}:
8-
sourceBranchName: ${{ replace(variables['System.PullRequest.SourceBranch'], 'refs/heads/', '') }}
8+
sourceBranchName: ${{ replace(variables['System.PullRequest.SourceBranch'], 'refs/pull/', '') }}
99

1010
resources:
1111
repositories:

0 commit comments

Comments
 (0)