Skip to content

[FEATURE] - Configurable Merge Freeze Windows #819

Description

Is your feature request related to a problem?
I'm always frustrated when developers accidentally merge non-critical PRs on Friday evenings or during active production incidents, leading to broken builds when the team is offline.

Describe the Solution
Allow repository admins to define "Merge Freeze" cron schedules (e.g., Friday 5 PM to Monday 8 AM) or toggle an emergency freeze that disables the merge button for all non-admin users.

Design/UI Thoughts
A settings panel for admins to set CRON schedules. When a freeze is active, the Merge button should turn gray with a tooltip saying "Merge Freeze Active: Reopens at [Time]".

Additional Context
Needs a database schema update to store freeze schedules and a backend middleware to block merge API requests during these windows.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions