No 'ref' in github enterprise webhook payload


I am triggering an api gateway and lambda function with a github webhook. I am unable to find any ref section in the payload section. I have multiple branches already created.

What I want to achieve is trigger the api gateway when its only master branch.

Can anyone please help me in this?

Hi there @moitrasayan007 ! :wave:

Sorry for a bit of delay in response to your post but thank you so much for joining, and submitting your use case!

Since your experience will vary depending on the version of GHE/S you’re using, you will likely be best served by our Enterprise Support team. I would highly recommend reaching out to them directly:

…if you haven’t already!