Skip to content

Commit a3f4c56

Browse files
authored
CHORE: Renamed test pipeline and enabled main branch triggers (#66)
ADO Task ID: [AB#37623](https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/37623) This pull request updates pipeline configurations to streamline triggers and improve naming conventions. The changes focus on ensuring pipelines are triggered only on relevant events and enhancing clarity in pipeline naming. Updates to pipeline triggers: * [`eng/pipelines/build-whl-pipeline.yml`](diffhunk://#diff-a871d64acfb78366b4b077045db53551c2df7d622854569f5f6780ad2ec6f911L4-L9): Modified the trigger to activate only on merges to the `main` branch, removing the `dev` branch from the trigger list. Enhancements to pipeline naming: * Renamed `eng/pipelines/test-pipeline.yml` to `eng/pipelines/pr-validation-pipeline.yml` and updated its name within the file for consistency.
1 parent 19f35fa commit a3f4c56

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

eng/pipelines/build-whl-pipeline.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# Pipeline name shown in ADO UI
22
name: build-whl-pipeline
33

4-
# Trigger the pipeline on pushes to these branches
4+
# Trigger the pipeline on merge to main branch only
55
trigger:
66
branches:
77
include:
88
- main
9-
- dev
109

1110
# Use Microsoft-hosted Windows VM
1211
pool:
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
name: test-pipeline
1+
name: pr-validation-pipeline
2+
3+
# Trigger the pipeline on merge to main branch
4+
trigger:
5+
branches:
6+
include:
7+
- main
28

39
jobs:
410
- job: PytestOnWindows

0 commit comments

Comments
 (0)