Skip to content

Commit 338bab4

Browse files
authored
Fix for infinite loop
1 parent 78d2a8d commit 338bab4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/update-results.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
1515
python-version: [ "3.10" ]
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
19+
with:
20+
ssh-key: ${{ secrets.DEPLOY_KEY }}
1921
- name: Set up Python ${{ matrix.python-version }}
2022
uses: actions/setup-python@v3
2123
with:
@@ -27,7 +29,7 @@ jobs:
2729
2830
- name: Run MLPerf Inference Submission Checker and generate results summary
2931
run: |
30-
mlcr run,mlperf,inference,submission-checker --adr.inference-src.tags=_branch.dev --quiet --extra_args=" --skip-extra-files-in-root-check" --submission_dir=./ > >(tee -a out.txt) 2> >(tee -a checker_log.txt >&2)
32+
mlcr run,mlperf,inference,submission-checker --adr.inference-src.tags=_branch.dev --quiet --repo_name=submissions_inference_v6.0 --extra_args=" --skip-extra-files-in-root-check" --submission_dir=./ > >(tee -a out.txt) 2> >(tee -a checker_log.txt >&2)
3133
mlcr convert,from-csv,to-md --csv_file=summary.csv --md_file=README.md
3234
3335
USER="mlcommons-bot"
@@ -43,4 +45,4 @@ jobs:
4345
head -n 100 temp1 > README.md
4446
git add README.md
4547
46-
git diff-index --quiet HEAD || (git commit -am "Updated results summary" && git push)
48+
git diff --quiet HEAD -- summary.csv summary.json summary_results.json || (git commit -am "Updated results summary" && git push)

0 commit comments

Comments
 (0)