Merge requests may only merge if the pipeline succeeds and a security approver signs off for critical findings.

IntermediateScenarioGitLab CI
Answer

Situation read → MR governance.

What I'd do →

  1. Enable "Pipelines must succeed" in merge settings.
  2. Add approval rules, including a security-scanner-triggered rule for new critical vulnerabilities.
  3. Use CODEOWNERS sections for sensitive paths with required approvals.
  4. Use merge trains to avoid semantic conflicts on busy branches.

Why → Policy enforced at merge time covers everyone consistently.

Interview tip → Merge trains test each MR on top of the queue.

All CI/CD questions Roadmap: GitLab CI/CD

More on GitLab CI