diff options
Diffstat (limited to 'lib/api/protected_branches.rb')
-rw-r--r-- | lib/api/protected_branches.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/api/protected_branches.rb b/lib/api/protected_branches.rb index 17574739a7c..802dfdec511 100644 --- a/lib/api/protected_branches.rb +++ b/lib/api/protected_branches.rb @@ -60,6 +60,9 @@ module API optional :merge_access_level, type: Integer, values: ProtectedBranch::MergeAccessLevel.allowed_access_levels, desc: 'Access levels allowed to merge (defaults: `40`, maintainer access level)' + optional :allow_force_push, type: Boolean, + default: false, + desc: 'Allow force push for all users with push access.' use :optional_params_ee end |