Feature Request: Merge Approval Policy with Time-Based Blocking
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to Solve
There are scenarios where it's not always desirable to require a human to approve a merge request, but at the same time, it's not desirable to enable the merge to immediately proceed. Having a time-based blocking mechanism to prevent merges from proceeding until a waiting period has passed would provide a solution for these situations.
Proposal
Introduce a merge policy condition that blocks a merge for a preset duration (e.g., 24 hours). The block remains in place until:
- The elapsed time has expired, OR
- An approver explicitly approves the merge
Approval resets would function similarly to existing commit approval mechanisms, where subsequent commits "snooze" the timer, extending the waiting period.
Edited by 🤖 GitLab Bot 🤖