Improve your code review process by automating comments to avoid common mistakes or remind the developer of possible dependencies outside the pull request.
Install the extension in your collection and create a pipeline. Add the PrCommentator
task to the YAML file and configure the inputs as you see fit:
- task: PrCommentator@0
inputs:
comment: 'Files in /foo/ should only be auto-generated. Did you update /foo-generator.json first?'
fileGlob: '/foo/**/*'
This will generate a comment like the following:
This project is open source and contributions are welcome.