Loading
Allow selecting Duo project template from group settings
What does this MR do and why?
Allow selecting Duo project template from group settings when the Code Review flow is enabled.
This template project is used to store custom instructions for the Code Review flow (we may use it for other Duo features in the future).
The selection is only possible in top-level namespaces and is inherited by any project under that namespace or its subgroups.
References
Closes #595534 (closed)
Screenshots or screen recordings
How to set up and validate locally
- Choose a top-level namespace with Duo enabled
- Enable
duo_code_review_group_level_instructionsfor that namespace:::FeatureFlag.enable(:duo_code_review_group_level_instructions, namespace) - Under that namespace, create a project to store custom instructions following the docs
- Go to the namespace
Settings > General > GitLab Duo featuressection (e.g. http://gdk.test:3000/groups/gitlab-duo/-/edit#js-gitlab-duo-settings) - Under
Flowssubsection, checkAllow foundational flowsand thenCode Review - A new option to select a template project to load Code Review custom instructions will appear
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.
Edited by Wanderson Policarpo

