Fix the git ref extractor for Gitlab pull requests

This commit is contained in:
Jeff Bradberry 2019-09-11 12:09:26 -04:00
parent 08594682a4
commit aa34984d7c

View File

@ -195,7 +195,7 @@ class GitlabWebhookReceiver(WebhookReceiverBase):
event_keys = {
'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):