mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 12:57:40 -02:30
return event_status on all gitlab webhook types
This commit is contained in:
@@ -204,8 +204,6 @@ class GitlabWebhookReceiver(WebhookReceiverBase):
|
|||||||
return h.hexdigest()
|
return h.hexdigest()
|
||||||
|
|
||||||
def get_event_status_api(self):
|
def get_event_status_api(self):
|
||||||
if self.get_event_type() != 'Merge Request Hook':
|
|
||||||
return
|
|
||||||
project = self.request.data.get('project', {})
|
project = self.request.data.get('project', {})
|
||||||
repo_url = project.get('web_url')
|
repo_url = project.get('web_url')
|
||||||
if not repo_url:
|
if not repo_url:
|
||||||
|
|||||||
Reference in New Issue
Block a user