Commit c7835743 authored by Guilhem Saurel's avatar Guilhem Saurel

stop sync of release/X.Y.Z branches

parent 2eff802c
Pipeline #10978 passed with stage
in 4 minutes and 32 seconds
......@@ -120,6 +120,9 @@ def push(request: HttpRequest, source: SOURCES, rep: str) -> HttpResponse:
if branch.startswith('pr/'): # Don't sync pr/XX branches here, they are already handled by pull_request()
return HttpResponse(rep)
if branch.startswith('release/'): # Don't sync release/X.Y.Z branches at all
return HttpResponse(rep)
# Fetch the latest commit from gitlab
if gl_remote_name in git_repo.remotes:
gl_remote = git_repo.remote(gl_remote_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment