want skip_pr_with_branch: true
I want the opposite of skip_branch_with_pr: true.
or maybe a skip_branch_with_pr: pr
Basically I only want want thing to build when I have a feature branch and a pull request. But I want my deploy tasks to work, so I want it to skip the PR rather than the branch.
I've been struggle to get there workflow just right, and I finally have except for this one thing, either allow two builds when I have a pull request on my branch, or can't deploy to me myget feed.
Thanks,
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
1 Posted by Ilya Finkelshte... on 11 Aug, 2017 10:57 PM
You can go to
Settings > Webhooks
for your repo on GitHub, select AppVeyor webhook and uncheckPull request
. If this does not work for you, please describe your scenario in more details.2 Posted by Jay Tuley on 14 Aug, 2017 07:11 PM
Yeah that doesn't work.
I still want pull requests from repo forks to still build, just not deploy, the normal PR behavior that doesn't need skipping.
What I'm asking for is that I want pull requests from a branch on my repo to build the branch and skip PR so it does the branch behavior which includes deploy, but I don't want it to build twice, hence why I want basically the skip the PR rather than vice versa.
3 Posted by Ilya Finkelshte... on 15 Aug, 2017 02:00 AM
Sorry but I still believe that this should work for your scenario... If you uncheck
Pull request
in Webhook settings, this does not prevent Webhooks triggered bypush
. Anytime you create pull request, you do normal commit to the feature branch as well, right? Sopush
webhook should be triggered OK and build for feature branch should be started. If you need separate deployment settings for the feature branch, you can do conditional deployment. And again withPull request
unchecked, PR build for the master branch will not be started, so nothing will be built twice.4 Posted by Jay Tuley on 15 Aug, 2017 03:48 PM
Yes, but what you suggest also means 0 builds from PRs from third parties. I want 1 build for me that deploys and 1 one build from third parties that does not deploy.
current config options:
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:19 AM.