Skip to content

Commit 1c6db8c

Browse files
Skip PR builds if push build exists in AppVeyor (#9734)
1 parent 2de808f commit 1c6db8c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

appveyor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
image: Previous Visual Studio 2015
33
configuration: "Debug"
44

5+
# skip PR builds when there's already a push build
6+
skip_branch_with_pr: true
7+
58
build_script:
69
- ps: Set-Service wuauserv -StartupType Manual #otherwise, choco command exits with code 1058
710

@@ -15,7 +18,7 @@ cache:
1518
- C:\Program Files\WindowsPowerShell\Modules\dbatools.library -> .github/dbatools-library-version.json
1619

1720
#shallow_clone: true
18-
clone_depth: 100
21+
clone_depth: 20
1922

2023
# Set build info
2124
environment:

0 commit comments

Comments
 (0)