Loading
feat(workflow): configure required branch approvals
Plan
- Validate the optional
requiredcount and pass it through branch-rule configuration to GitLab approval rules. - Cover default and explicit counts, single-rule compatibility, and both workflow components in tests and documentation.
Acceptance criteria
-
Omitted or empty
approversselects project Maintainers and Owners with zero required approvals unlessrequiredis set. -
Non-empty
approversdefaults to one required approval; an explicit non-negative integer overrides either default. -
Invalid
requiredvalues fail validation, and a visible single-rule fallback must match the requested count exactly. -
Workflow tests pass locally and both component guides describe the behavior.
-
The exact-head MR pipeline succeeds.
-
The final diff and rebase are reviewed.
Exact-head pipeline passed all required jobs.
Closes #407 (closed)
Edited by Eugene Harold Krabs