Skip to content

Add branch rules GraphQL query (frontend)

Jacques Erasmus requested to merge 362217-add-graphql-query-fe into master

What does this MR do and why?

Added the Branch Rules GraphQL query to the frontend, in preparation for listing the branch rules.

(no changelog added as this feature is behind a feature flag)

Implementation plan

issue note
Add branch rules GraphQL query (frontend) 👈 this issue
List branch rules follow-up (pending UX)

Screenshots or screen recordings

N/A

How to set up and validate locally

  1. Enable the branch_rules feature flag
  2. Navigate to <project>/settings/repository
  3. The GraphQL query should be executed
  4. No visual changes are expected at this stage

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #362217 (closed)

Edited by Jacques Erasmus

Merge request reports