Skip to content
Versora

Manual

Merge requests

Merge scheduling

2 min read

On this page

Sometimes a merge request is approved, but shouldn't go in yet: the change can only go after Friday's freeze, or only within the maintenance window. The Merge schedule card saves a "not before" time on GitLab and, from GitLab 19.6 on, also an end of the window. The server honors the schedule for a direct merge, for auto-merge and for the merge train.

Scheduling only exists on GitLab. On GitHub the card doesn't appear.

Where to find it

  • MR review › Actions tab › Merge schedule card (only with the MR open).

What the card shows

TextMeaning
"No schedule: the merge can happen at any time."Nothing saved.
"Merge only from 05/12/2026, 18:00."There's only the start.
"Merge only until 05/12/2026, 22:00."There's only the end.
"Merge only between 05/12/2026, 18:00 and 05/12/2026, 22:00."Complete window.
"The window has already ended: the merge is on hold until you change or remove the schedule."The end has already passed.

Step by step

  1. Open the MR review and go to the Actions tab.
  2. On the Merge schedule card, click Schedule… (or Change…, if there already is one).
  3. Fill in Don't merge before with the date and time.
  4. On GitLab 19.6 or later, also fill in Nor after, if you want an end.
  5. Click Save. The bar shows "Saving the schedule…" and, at the end, "Schedule for !42 saved.".

To remove it, click Remove schedule ("Schedule for !42 removed.").

Tip

The times are those of your computer's clock ("Your computer's time."). The app converts them to the universal time the server stores.

FieldWhat it doesRequirement
Don't merge beforeThe merge only happens from that moment on.GitLab 17.8 or later
Nor afterCloses the window: after that moment the merge is on hold.GitLab 19.6 or later, with the experimental feature turned on

What Versora does in git

Nothing in the local repository. The start goes through the merge request's merge_after field, in the GitLab REST API; the end of the window goes through the GraphQL API (mergeBefore), which is where GitLab offers it.

How to undo

The schedule lives on the server: Ctrl+Z doesn't undo it. Use Remove schedule or Change….

Caveats and messages

  • "Merge scheduling needs GitLab 17.8 or newer.": the card appears disabled, with this reason, on older servers.
  • "The end of the time window needs GitLab 19.6 or newer.": only the start is accepted.
  • "This GitLab didn't accept the end of the time window (experimental feature turned off?). Only the start applies.": the server is 19.6, but the feature is turned off on it.
  • "The end must be after the start.": fix the dates.
  • "Invalid date or time.": fill in both date and time fields completely.
  • "GitLab rejected the schedule: …": the reason comes from the server.
  • "This GitLab doesn't let the API remove the schedule. Remove it on the merge request page.": use Open in browser on the Branch card.
  • "GitHub doesn't have merge scheduling.": on GitHub, the feature doesn't exist.

None in the app. Who can schedule is decided by the project's permissions on GitLab.

See also