Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
c71c7832
Commit
c71c7832
authored
Nov 23, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gh/views.py
View file @
c71c7832
...
...
@@ -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
}
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment