Commit c71c7832 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

Revert "fix CI on projects with _"

This reverts commit f8a9d7bf.
parent f8a9d7bf
Pipeline #16965 passed with stage
in 5 minutes and 25 seconds
......@@ -57,7 +57,7 @@ async def pull_request(request: HttpRequest, rep: str) -> HttpResponse:
slug_github=slugify(data['repository']['owner']['login']))
project = await sync_to_async(get_object_or_404)(Project,
main_namespace=namespace,
slug=slugify(data['repository']['name']).replace('_', '-'))
slug=slugify(data['repository']['name']))
git_repo = await sync_to_async(project.git)()
logger.debug(f'{namespace.slug}/{project.slug}: Pull request on {branch}: {event}')
......
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