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.
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.