mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-19 02:03:52 +00:00
### Description Use Path filter and fake workflow to skip windows GPU check if there's only changes in doc. Refs: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks The fake github yaml is generated by code. ### 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. --> ###verifications:### In this PR: since the win-gpu-ci-pipeline.yml and .github are updated, so the real Windows GPU workflows are always triggered. in #13256 To avoid update win-gpu-ci-pipleline.yml, I added the path filter in devops page. the fake win GPU workflows triggered, and the real workflows are skipped.
20 lines
408 B
Django/Jinja
20 lines
408 B
Django/Jinja
# Don't edit this file manully.
|
|
# Run generate_fake_workflows.py to generate it.
|
|
|
|
name: {{ ci_workflow_name }}
|
|
on:
|
|
push:
|
|
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 %}
|