The autoReveiwer will add the functionallity to assign reviewers to open PRs in Visual Studios Team Services.
Different reviewer groups and wheather the reviewer is optional is specificed through a json file. The state of next reviewer to be assigned is also saved.
-
Create an Azure Storage Account using either the portal or the CLI.
-
Add the reviewers.json and vsts.config.json file to the file share. An example of the format for each can be found in the examples folder. the name of the configuration file can be changed by using the ENV variable VSTS_CONFIG_FILE.
-
Either build and push the image to a container registry or the latest stable version can be pulled from the dockerhub repository pskreter/vstsreviewer:stable
-
Create an Azure Logic App with a timed trigger of 10 minutes (or whatever you think is good for your team.)
-
Next add the ACI create component. Attach the fileshare as a volume at /config and add the location of the pushed image.
Now you should be good to start running.