Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit929e07d

Browse files
JohnVillalovosnejch
authored andcommitted
feat(cli): add setting ofallow_force_push for protected branch
For the CLI: add `allow_force_push` as an optional argument forcreating a protected branch.API reference:https://docs.gitlab.com/ee/api/protected_branches.html#protect-repository-branchesCloses:#2466
1 parent43f5ac5 commit929e07d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎gitlab/v4/objects/branches.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class ProjectProtectedBranchManager(NoUpdateMixin, RESTManager):
4242
"push_access_level",
4343
"merge_access_level",
4444
"unprotect_access_level",
45+
"allow_force_push",
4546
"allowed_to_push",
4647
"allowed_to_merge",
4748
"allowed_to_unprotect",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp