summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/projects/settings/branch_rules/queries/branch_rules_details.query.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/projects/settings/branch_rules/queries/branch_rules_details.query.graphql')
-rw-r--r--app/assets/javascripts/projects/settings/branch_rules/queries/branch_rules_details.query.graphql47
1 files changed, 1 insertions, 46 deletions
diff --git a/app/assets/javascripts/projects/settings/branch_rules/queries/branch_rules_details.query.graphql b/app/assets/javascripts/projects/settings/branch_rules/queries/branch_rules_details.query.graphql
index a832e59aa67..aa736469749 100644
--- a/app/assets/javascripts/projects/settings/branch_rules/queries/branch_rules_details.query.graphql
+++ b/app/assets/javascripts/projects/settings/branch_rules/queries/branch_rules_details.query.graphql
@@ -4,24 +4,14 @@ query getBranchRulesDetails($projectPath: ID!) {
branchRules {
nodes {
name
+ matchingBranchesCount
branchProtection {
allowForcePush
- codeOwnerApprovalRequired
mergeAccessLevels {
edges {
node {
accessLevel
accessLevelDescription
- group {
- id
- avatarUrl
- }
- user {
- id
- name
- avatarUrl
- webUrl
- }
}
}
}
@@ -30,45 +20,10 @@ query getBranchRulesDetails($projectPath: ID!) {
node {
accessLevel
accessLevelDescription
- group {
- id
- avatarUrl
- }
- user {
- id
- name
- avatarUrl
- webUrl
- }
- }
- }
- }
- }
- approvalRules {
- nodes {
- id
- name
- type
- approvalsRequired
- eligibleApprovers {
- nodes {
- id
- name
- username
- webUrl
- avatarUrl
}
}
}
}
- externalStatusChecks {
- nodes {
- id
- name
- externalUrl
- }
- }
- matchingBranchesCount
}
}
}