GRM-25: feat: auto-delete branch after merge in configure_repo script
CI / lint (push) Has been cancelled
CI / unit-tests (push) Has been cancelled
CI / molecule-tests (push) Has been cancelled
Post-merge Vikunja update / vikunja (push) Has been cancelled

This commit was merged in pull request #3.
This commit is contained in:
2026-06-19 21:46:45 +00:00
parent d949bd3444
commit 9c51c8b62c
8 changed files with 72 additions and 15 deletions
+7
View File
@@ -53,6 +53,13 @@ class GiteaClient:
raise APIError(status, message) from e
return response
# -- repo settings --
def update_repo_settings(self, settings: dict[str, Any]) -> dict[str, Any]:
"""Update repository settings (e.g. auto-delete branch after merge)."""
r = self._request("PATCH", "", json=settings)
return r.json()
# -- branch protection --
def list_branch_protections(self) -> list[dict[str, Any]]: