Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions eng/pipelines/templates/jobs/vmr-synchronization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ jobs:
- ${{ 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
- ${{ if or(eq(parameters.vmrBranch, 'main'), startsWith(parameters.vmrBranch, 'release/')) }}:
# Make sure the script is where we expect it to be, since the template does not support multi-repo checkout
- script: |
mkdir -p $(System.DefaultWorkingDirectory)/eng/common
cp -r $(System.DefaultWorkingDirectory)/sdk/eng/common/Get-GitHubAppToken.ps1 $(System.DefaultWorkingDirectory)/eng/common
displayName: Copy GitHub App token script
Comment thread
premun marked this conversation as resolved.
Resolved

- template: /eng/common/templates-official/steps/get-github-app-token.yml
parameters:
azureSubscription: DncEng-VSTS
Expand Down
Loading