Question is pretty much self explanatory. I want that the webhook will be triggered on commits to master branch only, I might be wrong, but from my experience right now it seems to be triggered on commit to every branch.
Question is pretty much self explanatory. I want that the webhook will be triggered on commits to master branch only, I might be wrong, but from my experience right now it seems to be triggered on commit to every branch.
I have run into this same problem, and while I couldn't find a solution that solves it as asked, I did find a workaround that was acceptable to the team requesting this feature.
Assuming you would only want to build master after merging changes in, you can tag that commit as a Release in GitHub. Then update the GitHub webhook to only send a build trigger when a Release is published, instead of when any push is made to the GitHub repo.