From 5046b0d6ccfaf519d4be1b329af8d7bef58a2e25 Mon Sep 17 00:00:00 2001 From: Nikolaus Waxweiler Date: Thu, 26 Apr 2018 09:40:45 +0100 Subject: [PATCH] AppVeyor: Trigger just one build after initial PR opening Currently, pushing to a branch in the main repo and then opening a PR about it will always trigger both a "pr" and "branch" build on AppVeyor. This change should only trigger a build once after the PR was initially opened. --- appveyor.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 3c403d1e9..ca292ec43 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,6 +20,10 @@ environment: TOXENV: "py36-cov" TOXPYTHON: "C:\\Python36-x64\\python.exe" +# Do not build feature branches with open Pull Requests after the initial +# opening of a PR. +skip_branch_with_pr: true + install: # If there is a newer build queued for the same PR, cancel this one. # The AppVeyor 'rollout builds' option is supposed to serve the same