Skip to content

Commit 05cad40

Browse files
committed
ci: Add specific azure pipeline triggers
Added triggers following triggers to control pipeline execution: * Start azure pipeline when a PR to master is created * Start azure pipeline when a release tag is pushed to master
1 parent f03feb0 commit 05cad40

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Trigger on a PR to master (this includes PRs from forks but secrets are not exposed).
2+
pr:
3+
- master
4+
5+
# Release to pypi when a release tag is pushed
6+
trigger:
7+
tags:
8+
include:
9+
- v*
10+
111
stages:
212
- stage: AnalyseTest
313
displayName: 'Analyse and Test'

0 commit comments

Comments
 (0)