Introduce CI_MERGE_REQUEST_DRAFT predefined variable

What does this MR do and why?

Introduce CI_MERGE_REQUEST_DRAFT predefined variable

Adds a new predefined variable, CI_MERGE_REQUEST_DRAFT, which indicates whether a merge request is a draft.

Issue: #275981 (closed)

Screenshots or screen recordings

Screen_Recording_2025-03-01_at_22.57.12

How to set up and validate locally

  1. Create a merge request pipeline and verify that the CI_MERGE_REQUEST_DRAFT variable correctly reflects whether the merge request is in draft status or not.
Edited by Ivane Gkomarteli

Merge request reports

Loading