mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
update file name in the comment (#13275)
### Description Correct the file name in the comments of the generated yaml. ### 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. -->
This commit is contained in:
parent
1e55949a70
commit
8a3407d54f
3 changed files with 7 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# generate_skip_doc_change.py
|
||||
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
from jinja2 import Environment, FileSystemLoader, Template
|
||||
|
|
@ -27,7 +27,10 @@ WIN_GPU_CI_WORKFLOW = Skipped_Workflow(
|
|||
|
||||
|
||||
def generate_fake_ci_yaml(template: Template, workflow: Skipped_Workflow):
|
||||
content = template.render(ci_workflow_name=workflow.workflow_name, job_names=workflow.job_names)
|
||||
py_file_name = os.path.basename(__file__)
|
||||
content = template.render(
|
||||
python_file_name=py_file_name, ci_workflow_name=workflow.workflow_name, job_names=workflow.job_names
|
||||
)
|
||||
|
||||
filename = workflow.fake_file_name
|
||||
with open(filename, mode="w", encoding="utf-8") as output_file:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Don't edit this file manully.
|
||||
# Run generate_fake_workflows.py to generate it.
|
||||
# Run generate-skip-doc-change.py to generate it.
|
||||
|
||||
name: Windows GPU CI Pipeline
|
||||
on:
|
||||
|
|
|
|||
2
.github/workflows/skip-doc-change.yml.j2
vendored
2
.github/workflows/skip-doc-change.yml.j2
vendored
|
|
@ -1,5 +1,5 @@
|
|||
# Don't edit this file manully.
|
||||
# Run generate_fake_workflows.py to generate it.
|
||||
# Run {{ python_file_name }} to generate it.
|
||||
|
||||
name: {{ ci_workflow_name }}
|
||||
on:
|
||||
|
|
|
|||
Loading…
Reference in a new issue