Set git author information in vmr-synchronization.yml (#17757)
This commit is contained in:
parent
65d8a464e1
commit
e0d2e1c4fa
1 changed files with 5 additions and 0 deletions
|
@ -56,6 +56,11 @@ jobs:
|
||||||
vmrBranch: ${{ parameters.vmrBranch }}
|
vmrBranch: ${{ parameters.vmrBranch }}
|
||||||
targetRef: ${{ parameters.targetRef }}
|
targetRef: ${{ parameters.targetRef }}
|
||||||
|
|
||||||
|
- script: >
|
||||||
|
git config --global user.name "dotnet-maestro[bot]"
|
||||||
|
git config --global user.email "dotnet-maestro[bot]@users.noreply.github.com"
|
||||||
|
displayName: Set git author to dotnet-maestro[bot]
|
||||||
|
|
||||||
|
|
||||||
- ${{ if and(not(parameters.noPush), not(in(variables['Build.Reason'], 'PullRequest')), eq(variables['System.TeamProject'], 'internal')) }}:
|
- ${{ if and(not(parameters.noPush), not(in(variables['Build.Reason'], 'PullRequest')), eq(variables['System.TeamProject'], 'internal')) }}:
|
||||||
# Push main and release branches to the public VMR
|
# Push main and release branches to the public VMR
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue