Public code should be mirrored to dev.azure.com/dnceng/internal (see Azure DevOps Guidance). These are the steps for setting up your GitHub repo to mirror into dev.azure.com/dnceng/internal.
- Add the maestro web hook
- Make sure you have created a repo in the dev.azure.com/dnceng/internal project that is in the format "{org}-{repo}" (replace any
/
with-
in the GitHub repo name).- Example: github.com/dotnet/arcade => dotnet-arcade
- Add data for repo and branches that you want mirrored to the subscriptions json. Specifically, add a URI of the pattern
"https://github.com/{org}/{repo}/blob/{branch}/**/*"
for your GitHub repository to thetriggerPaths
list above"action": "github-dnceng-azdo-mirror"
. Please alphabetize.
"https://github.com/dotnet/project-system/blob/release/**/*",
"https://github.com/dotnet/toolset/blob/master/**/*",
"https://github.com/dotnet/toolset/blob/release/**/*",
"https://github.com/dotnet/roslyn/blob/master/**/*",
"https://github.com/dotnet/roslyn/blob/release/**/*",
"https://github.com/{org}/{repo}/blob/{branch}/**/*" // <-- insert your URI here, in alpha order.
"https://github.com/microsoft/msbuild/blob/master/**/*",
"https://github.com/microsoft/msbuild/blob/release/**/*",
],
"action": "github-dnceng-azdo-mirror",
"actionArguments": {
"vsoSourceBranch": "master",