diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 1dec09fc5..7e5ca7836 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -37,21 +37,6 @@ variables: /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64) /p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64) -- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}: - - name: VmrRef - value: $(System.PullRequest.TargetBranch) -- ${{ else }}: - - name: VmrRef - value: refs/heads/main - -resources: - repositories: - - repository: vmr - type: github - name: dotnet/dotnet - endpoint: dotnet - ref: $(VmrRef) - stages: - stage: Build jobs: