What is a pull_request synchronize event

What precisely causes a synchronize event? The docs don’t define what it is.


Hi @simonbyrne,

Thank you for being here! A pull_request event it’s only triggered when the pull request’s tracking branch is synchronized with the source branch for the pull request, and that happens when the source branch is updated.

1 Like

Hi Andrea,

Thanks for your reply. Do you know if it also gets triggered when the base branch (that the PR is merging into) is updated?



Hey @simonbyrne,

Thanks for the follow up. What this implies is that if you push a new commit to the HEAD ref of a pull request then this “synchronize” event will be triggered. This is because the system is syncing the pull requests with the latest changes. This will NOT trigger if the base ref is updated.