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
5117708b
Commit
5117708b
authored
Feb 24, 2020
by
Guilhem Saurel
Browse files
activate push
parent
645a9695
Pipeline
#8467
passed with stage
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gh/views.py
View file @
5117708b
...
...
@@ -109,7 +109,8 @@ def webhook(request: HttpRequest) -> HttpResponse:
if
event
==
'ping'
:
return
log
(
request
,
'pong'
)
if
event
==
'push'
:
return
log
(
request
,
'push event detected'
)
print
(
'push event detected'
)
return
push
(
request
)
if
event
==
'check_suite'
:
return
check_suite
(
request
,
'check_suite event detected'
)
...
...
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