check for public pr
This commit is contained in:
parent
1f25df5d5d
commit
a02ad9fe6c
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ variables:
|
||||||
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
|
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
|
||||||
/p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64)
|
/p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64)
|
||||||
|
|
||||||
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
- name: VmrRef
|
- name: VmrRef
|
||||||
value: $(System.PullRequest.TargetBranch)
|
value: $(System.PullRequest.TargetBranch)
|
||||||
- ${{ else }}:
|
- ${{ else }}:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue