support gitlab subgroups in git_webhooks
This commit is contained in:
parent
ddc70a6bd9
commit
bbd7a58914
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ class GitLab(object):
|
|||
|
||||
def names(self, data, headers):
|
||||
full_name = data["project"]["path_with_namespace"]
|
||||
repo_username = data["project"]["namespace"]
|
||||
repo_name = data["project"]["name"]
|
||||
repo_username, repo_name = full_name.split("/", 1)[0]
|
||||
|
||||
return full_name, repo_username, repo_name, None
|
||||
|
||||
|
|
Loading…
Reference in a new issue