gitlab4j-api icon indicating copy to clipboard operation
gitlab4j-api copied to clipboard

support updating protected branches via the ProtectedBranchesApi

Open jen13501 opened this issue 2 years ago • 2 comments
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?

jen13501 avatar Aug 16 '23 23:08 jen13501

Sure this seems to be missing. A PR is welcome.

jmini avatar Aug 17 '23 12:08 jmini

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

jmini avatar Nov 17 '23 17:11 jmini