From 6a112cf0e5edf87eb020d1b43503a321710501ac Mon Sep 17 00:00:00 2001 From: Pontus Lurcock Date: Wed, 23 Aug 2023 11:36:09 +0200 Subject: [PATCH 1/2] Add skip_branch_with_pr: true to AppVeyor config This should disable branch builds for branches with a PR (since they have a PR build anyway). Addresses #884. --- appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 6794ba0e2..6ea5304eb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,6 +9,9 @@ configuration: Release platform: - x64 +# Do not build feature branch with open Pull Requests +skip_branch_with_pr: true + for: - matrix: From 61cd549205c03688766cc4aa8770a7b7a7a64e96 Mon Sep 17 00:00:00 2001 From: Pontus Lurcock Date: Wed, 23 Aug 2023 11:45:10 +0200 Subject: [PATCH 2/2] Add a comment to appveyor.yml --- appveyor.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 6ea5304eb..9e5ed6fa7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,7 +9,10 @@ configuration: Release platform: - x64 -# Do not build feature branch with open Pull Requests +# Do not build feature branch with open Pull Requests. +# Note that a feature branch build may still occur on the first push to +# the branch -- see +# https://help.appveyor.com/discussions/questions/18437-skip_branch_with_pr-setting-doesnt-work skip_branch_with_pr: true for: