mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 11:11:07 -03:30
Fix the git ref extractor for Gitlab pull requests
This commit is contained in:
@@ -195,7 +195,7 @@ class GitlabWebhookReceiver(WebhookReceiverBase):
|
|||||||
event_keys = {
|
event_keys = {
|
||||||
'Push Hook': 'checkout_sha',
|
'Push Hook': 'checkout_sha',
|
||||||
'Tag Push Hook': 'checkout_sha',
|
'Tag Push Hook': 'checkout_sha',
|
||||||
'Merge Request Hook': 'last_commit.id',
|
'Merge Request Hook': 'object_attributes.last_commit.id',
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_event_type(self):
|
def get_event_type(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user