Skip to content

Conversation

@JohnVillalovos
Copy link
Member

For the CLI: add allow_force_push as an optional argument for creating a protected branch.

API reference:
https://docs.gitlab.com/ee/api/protected_branches.html#protect-repository-branches

Closes: #2466

For the CLI: add `allow_force_push` as an optional argument for
creating a protected branch.

API reference:
https://docs.gitlab.com/ee/api/protected_branches.html#protect-repository-branches

Closes: #2466
Copy link
Member

@nejch nejch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick response! :)

@nejch nejch merged commit 929e07d into main Feb 3, 2023
@nejch nejch deleted the jlvillal/issue_2466 branch February 3, 2023 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFE: support for allow_force_push in ProjectProtectedBranchManager

3 participants