summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2020-03-15 10:18:45 -0400
committerWarren Weckesser <warren.weckesser@gmail.com>2020-03-15 10:18:45 -0400
commit27d01c959d7bf49ae3cf7be4e1d48bb59da3f40b (patch)
tree51d81f370717c0a28cf2d1dcc7c2edcda21754a5
parent90133e16d02c67206e350ce222d76f938596706f (diff)
downloadnumpy-27d01c959d7bf49ae3cf7be4e1d48bb59da3f40b.tar.gz
MAINT: CI: Add an explicit 'pr' section to azure-pipelines.yml
Azure-pipelines is currently experiencing an "incident": https://status.dev.azure.com/_event/179641421) From that web page: > Currently CI and PR triggers in YAML for GitHub and Bitbucket > repositories are not working when they are not explicitly listed > in the YAML file. Our expected behavior is that when there are > no explicit triggers in the YAML, the pipelines will trigger on > all commits on all branches and all pull requests. This is > currently not happening. To workaround, please explicitly list > the triggers you want in the YAML file for your pipeline. This PR adds the suggested explicit 'pr' triggers to the YAML file.
-rw-r--r--azure-pipelines.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index c6b54f2cb..6d4944c92 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -6,6 +6,11 @@ trigger:
- master
- maintenance/*
+pr:
+ branches:
+ include:
+ - '*' # must quote since "*" is a YAML reserved character; we want a string
+
stages:
- stage: InitialTests
jobs: