From e9f528bae602fc6e96d42a116811231aebc06779 Mon Sep 17 00:00:00 2001 From: Matthew Treinish <mtreinish@kortar.org> Date: Thu, 18 Jun 2020 09:21:59 -0400 Subject: [PATCH] Rework trigger logic in azure-pipelines (#425) * Rework trigger logic in azure-pipelines The azure pipelines triggers were out of date and we were not running jobs on the stable branches post-merge. This commit corrects the oversight and also adds explicit triggers everywhere we want to run a job (there have been issues with the implicit default PR triggers in the past). (cherry picked from commit c02e83e79dffa6f59eb8014bc8b18f2340d223af) --- azure-pipelines.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e65b1634a..02e634c64 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,8 +4,15 @@ # https://docs.microsoft.com/azure/devops/pipelines/languages/python trigger: -- master -- stable + branches: + include: + - master + - stable/* +pr: + autoCancel: true + branches: + include: + - '*' jobs: - job: 'Docs'