diff --git a/appveyor.yml b/appveyor.yml index 0cf00a01ce..1433c78d58 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,6 +10,7 @@ environment: build_script: - ps: >- # Ensure that we are in a PR + if (-not (Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER)) { throw "This should only be trigger on pull request build!" }