2023-02-02 14:10:10 +00:00
|
|
|
pr: none
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
batch: true
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- internal/release/*
|
|
|
|
|
|
|
|
resources:
|
|
|
|
repositories:
|
|
|
|
- repository: vmr
|
|
|
|
type: git
|
|
|
|
name: dotnet-dotnet
|
|
|
|
ref: $(Build.SourceBranch)
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
- name: vmrBranch
|
|
|
|
displayName: dotnet-dotnet branch to push to
|
|
|
|
type: string
|
2023-02-08 15:33:20 +00:00
|
|
|
default: ' '
|
2023-02-02 14:10:10 +00:00
|
|
|
|
|
|
|
variables:
|
2023-02-03 14:24:12 +00:00
|
|
|
- ${{ if ne(parameters.vmrBranch, ' ') }}:
|
2023-02-02 14:10:10 +00:00
|
|
|
- name: VmrBranch
|
2023-02-08 16:40:25 +00:00
|
|
|
value: ${{ replace(parameters.vmrBranch, ' ', '') }}
|
2023-02-02 14:10:10 +00:00
|
|
|
- ${{ else }}:
|
|
|
|
- name: VmrBranch
|
|
|
|
value: ${{ replace(replace(variables['Build.SourceBranch'], 'refs/heads/', ''), 'refs/pull/', '') }}
|
|
|
|
|
|
|
|
jobs:
|
2023-02-07 15:07:18 +00:00
|
|
|
- template: templates/jobs/vmr-synchronization.yml
|
2023-02-02 14:10:10 +00:00
|
|
|
parameters:
|
|
|
|
vmrBranch: ${{ variables.VmrBranch }}
|