dotnet-installer/eng/pipelines/vmr-sync.yml

36 lines
702 B
YAML
Raw Normal View History

2023-02-01 14:12:20 +00:00
pr: none
2023-02-01 13:40:07 +00:00
trigger:
batch: true
branches:
include:
- main
- release/*
resources:
repositories:
- repository: vmr
type: github
name: dotnet/dotnet
endpoint: dotnet
parameters:
- name: vmrBranch
displayName: dotnet/dotnet branch to push to
type: string
default: ''
variables:
2023-02-01 13:52:26 +00:00
- ${{ if ne(parameters.vmrBranch, '') }}:
- name: VmrBranch
value: ${{ parameters.vmrBranch }}
- ${{ else }}:
- name: VmrBranch
value: ${{ replace(replace(variables['Build.SourceBranch'], 'refs/heads/', ''), 'refs/pull/', '') }}
2023-02-01 13:40:07 +00:00
2023-02-01 14:14:27 +00:00
jobs:
2023-02-01 13:40:07 +00:00
- template: /eng/pipelines/templates/jobs/vmr-synchronization.yml
parameters:
vmrBranch: ${{ variables.VmrBranch }}
2023-02-01 14:14:27 +00:00
2023-02-01 13:40:07 +00:00