gitlab4j-api
gitlab4j-api copied to clipboard
support updating protected branches via the ProtectedBranchesApi
trafficstars
Gitlab API supports updating branches https://docs.gitlab.com/ee/api/protected_branches.html#update-a-protected-branch, extend the protected branches API to also support updating branches, https://github.com/gitlab4j/gitlab4j-api/blob/main/src/main/java/org/gitlab4j/api/ProtectedBranchesApi.java
I can create a PR. Any gotchas I should be looking out for?
Sure this seems to be missing. A PR is welcome.
I am not sure if this is related or to to what you are doing, but I remember I had trouble understanding how the Update-API is working: https://gitlab.com/gitlab-org/gitlab/-/issues/20229#note_1250526851