PR triggers build on master branch

canh85's Avatar

canh85

15 May, 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 15 May, 2018 03:23 PM

    Owen McDonnell's Avatar

    Can you share your yaml configuration file?

  2. 2 Posted by canh85 on 15 May, 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. Support Staff 3 Posted by Ilya Finkelshte... on 15 May, 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 15 May, 2018 07:09 PM

    canh85's Avatar

    Thank you. I'll try that.

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 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

Recent Discussions

23 Oct, 2018 10:12 PM
23 Oct, 2018 08:45 PM
23 Oct, 2018 07:48 PM
23 Oct, 2018 06:50 PM
23 Oct, 2018 06:06 PM