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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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