Add branch rules GraphQL query (frontend)
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) |
|
List branch rules | follow-up (pending UX) |
Screenshots or screen recordings
N/A
How to set up and validate locally
- Enable the
branch_rules
feature flag - Navigate to
<project>
/settings/repository - The GraphQL query should be executed
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #362217 (closed)
Edited by Jacques Erasmus