return event_status on all gitlab webhook types

This commit is contained in:
HampusLundqvist 2022-05-23 22:13:00 +02:00 committed by GitHub
parent 2ba68ef5d0
commit f02212b1fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,8 +204,6 @@ class GitlabWebhookReceiver(WebhookReceiverBase):
return h.hexdigest()
def get_event_status_api(self):
if self.get_event_type() != 'Merge Request Hook':
return
project = self.request.data.get('project', {})
repo_url = project.get('web_url')
if not repo_url: