diff options
Diffstat (limited to 'app/graphql/types/branch_protections/push_access_level_type.rb')
-rw-r--r-- | app/graphql/types/branch_protections/push_access_level_type.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/graphql/types/branch_protections/push_access_level_type.rb b/app/graphql/types/branch_protections/push_access_level_type.rb index c5e21fad88d..2a66f1a4ec5 100644 --- a/app/graphql/types/branch_protections/push_access_level_type.rb +++ b/app/graphql/types/branch_protections/push_access_level_type.rb @@ -6,6 +6,11 @@ module Types graphql_name 'PushAccessLevel' description 'Defines which user roles, users, or groups can push to a protected branch.' accepts ::ProtectedBranch::PushAccessLevel + + field :deploy_key, + Types::AccessLevels::DeployKeyType, + null: true, + description: 'Deploy key assigned to the access level.' end end end |