onnxruntime/.github/workflows/skip-doc-change.yml.j2
Yi Zhang 67bde18d0d
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.
2022-10-12 15:22:42 +08:00

20 lines
412 B
Django/Jinja

# Don't edit this file manully.
# Run {{ python_file_name }} to generate it.
name: {{ ci_workflow_name }}
on:
pull_request:
paths:
- docs/**
- README.md
- CONTRIBUTING.md
- BUILD.md
jobs:
{%- for name in job_names %}
job{{ loop.index }}:
name: {{ name }}
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required, only documentation changed"'
{% endfor %}