Added Duo Code Review automated exclusion
What does this MR do and why?
Added a new resolver that parses a mr-review-automated-rules.yaml file
in the project or the projects ancestor groups if the group has a
selected project for the Duo Code Review instructions.
The YML file will look like:
exclude:
authors:
- renovate-bot
- dependabot
- "*-bot"
- "bot-*"
source_branches:
- "renovate/*"
- "dependabot/*"
- "auto-update/*"
target_branches:
- "feature/*"
- "spike/*"
- "wip/*"This then stops the Duo Code review user being automatically assigned to merge requests that match any of that data. Users can still assign the Duo Code review users themselves to start the review.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.