PR triggers build on master branch

canh85's Avatar

canh85

May 15, 2018 @ 02:04 PM

Hello

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?

Thank you

  1. Support Staff 1 Posted by Owen McDonnell on May 15, 2018 @ 03:23 PM

    Owen McDonnell's Avatar

    Can you share your yaml configuration file?

  2. 2 Posted by canh85 on May 15, 2018 @ 05:03 PM

    canh85's Avatar

    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.

  3. 3 Posted by Ilya Finkelshte... on May 15, 2018 @ 05:05 PM

    Ilya Finkelshteyn's Avatar

    Problem us that your project is created as generic Git, not a GitHub. Please re-create it as a GitHub one to enable PR support (and many other benefits GitHub support provides).

  4. 4 Posted by canh85 on May 15, 2018 @ 07:09 PM

    canh85's Avatar

    Thank you. I'll try that.

  5. Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:28 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac