Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Why is there a repo:push event when we merge a pull request?

LuongNguyen43
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 23, 2021

I created a webhook to receive 2 event types:  push and merged but when I merge a PR, there is an additional repo:push event sent to my URL, is that event guaranteed to be sent when we merge a PR?

1 answer

1 accepted

0 votes
Answer accepted
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 23, 2021

Hi, @LuongNguyen43!

Indeed, this is the expected behavior. This is happening because the merge event is creating a new commit on the destination branch and that is considered a "push". 

I hope this clarifies the situation, but please let me know if you have any questions. 

Kind regards,
Caroline

Ganesh Mohanty
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 8, 2023

@Caroline R So how can I know that this push event is due to a pull request being merged? is there any difference between the Pull request's push event and the normal push event?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events