How to prevent builds on creating of a Pull Request?
Our working branch is develop. Here is my flow.
- Create feature branch from develop.
feature/sc-0000-do-stuff
. Make changes to it locally, then push changes to bitbucket. - Create Pull Request to merge changes back to develop.
- Some reviews, then merges the
feature/sc-0000-do-stuff
intodevelop
.
I want AppVeyor to build on step 3. And it does. But it also builds on step 2 - upon creation of a pull request.
How can I stop AppVeyor from building upon creation of a pull request?
I've compared AppVeyor setting for my project with another project that doesn't build upon creation of a pull request and I can't find any differences or spot anything obvious.
What am I missing?
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 Feodor Fitsner on 29 Jun, 2023 01:05 AM
Building pull requests could be disabled on "General" tab of project settings - see screenshot.
2 Posted by rgelb on 29 Jun, 2023 04:18 PM
@Feodor That did the trick. Thank you.
This bring me to a question.
The other project that I initially compared my problem project to... it doesn't have the
Do not build on "Pull request" events
checked, yet it doesn't build on creation of a PR. Why is that? (not that I want it to - just curious).Support Staff 3 Posted by Feodor Fitsner on 29 Jun, 2023 10:05 PM
I guess it could be disabled on webhook level on Bitbucket?
Feodor Fitsner closed this discussion on 30 Aug, 2023 09:02 PM.