mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
return status on event types defined in ref_keys
This commit is contained in:
parent
f02212b1fe
commit
8d36712860
@ -204,6 +204,8 @@ class GitlabWebhookReceiver(WebhookReceiverBase):
|
||||
return h.hexdigest()
|
||||
|
||||
def get_event_status_api(self):
|
||||
if self.get_event_type() not in self.ref_keys.keys():
|
||||
return
|
||||
project = self.request.data.get('project', {})
|
||||
repo_url = project.get('web_url')
|
||||
if not repo_url:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user