tag:help.appveyor.com,2012-11-13:/discussions/problems/14183-pr-triggers-build-on-master-branchAppVeyor: Discussion 2018-10-19T08:18:46Ztag:help.appveyor.com,2012-11-13:Comment/452861322018-05-15T14:04:22Z2018-05-15T14:04:23ZPR triggers build on master branch<div><p>Hello</p>
<p>I setup my Github webhooks to register to Push and Pull Request events. However, upon each PR event, the build always takes the master branch, not the branch of the PR. Maybe I missed something?</p>
<p>Thank you</p></div>canh85tag:help.appveyor.com,2012-11-13:Comment/452861322018-05-15T15:23:11Z2018-05-15T15:23:11ZPR triggers build on master branch<div><p>Can you share your yaml configuration file?</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/452861322018-05-15T17:03:05Z2018-05-15T17:03:05ZPR triggers build on master branch<div><p>I used only the UI without the yaml configuration. So I set "Branches to build" to "All Branches" and I set the WebHook URL of AppVeyor in Github project registered to Push and Pull Requests event. Indeed there is build for every PR event but somehow it builds always the master branch. Thank you.</p></div>canh85tag:help.appveyor.com,2012-11-13:Comment/452861322018-05-15T17:05:31Z2018-05-15T17:05:31ZPR triggers build on master branch<div><p>Problem us that your project is created as generic <code>Git</code>, not a <code>GitHub</code>. Please re-create it as a <code>GitHub</code> one to enable PR support (and many other benefits GitHub support provides).</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/452861322018-05-15T19:09:40Z2018-05-15T19:09:40ZPR triggers build on master branch<div><p>Thank you. I'll try that.</p></div>canh85