PR triggers build on master branch
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
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
Support Staff 1 Posted by Owen McDonnell on May 15, 2018 @ 03:23 PM
Can you share your yaml configuration file?
2 Posted by canh85 on May 15, 2018 @ 05:03 PM
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 Posted by Ilya Finkelshte... on May 15, 2018 @ 05:05 PM
Problem us that your project is created as generic
Git
, not aGitHub
. Please re-create it as aGitHub
one to enable PR support (and many other benefits GitHub support provides).4 Posted by canh85 on May 15, 2018 @ 07:09 PM
Thank you. I'll try that.
Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:28 AM.