Update Win_GPU_CI trigger (#13290)

### Description
supplement of #13248

Add PR trigger 

https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#pr-triggers

fix: master -> main

Testted with #13289 #13292

NB:
the real pipeline is always triggered if the workflow yaml changed even
it's added in the path filter.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Make sure the real pipeline not run in the backend.
This commit is contained in:
Yi Zhang 2022-10-12 15:22:42 +08:00 committed by GitHub
parent 5b0d28b5b5
commit 67bde18d0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 3 deletions

View file

@ -3,7 +3,7 @@
name: Windows GPU CI Pipeline
on:
push:
pull_request:
paths:
- docs/**
- README.md

View file

@ -3,7 +3,7 @@
name: {{ ci_workflow_name }}
on:
push:
pull_request:
paths:
- docs/**
- README.md

View file

@ -1,7 +1,18 @@
trigger:
branches:
include:
- master
- main
- rel-*
paths:
exclude:
- docs/**
- README.md
- CONTRIBUTING.md
- BUILD.md
pr:
branches:
include:
- main
- rel-*
paths:
exclude: