Welcome to mirror list, hosted at ThFree Co, Russian Federation.

branch_rules.query.graphql « queries « graphql « branch_rules « repository « settings « projects « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a8cdda5505f7da28f95a6d130eee585a6ef28406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
query getBranchRules($projectPath: ID!) {
  project(fullPath: $projectPath) {
    id
    branchRules {
      nodes {
        name
        isDefault
        matchingBranchesCount
        branchProtection {
          allowForcePush
          mergeAccessLevels {
            edges {
              node {
                accessLevel
                accessLevelDescription
              }
            }
          }
          pushAccessLevels {
            edges {
              node {
                accessLevel
                accessLevelDescription
              }
            }
          }
        }
      }
    }
  }
}