Skip to content

feat(cli): add setting of allow_force_push for protected branch #2468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2023

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
2 participants