Skip to content

Commit ccff77c

Browse files
authored
Update test-mlperf-inference-resnet50.yml
1 parent 58e991f commit ccff77c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/test-mlperf-inference-resnet50.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,18 @@ jobs:
6767
6868
- name: Push Results
6969
env:
70-
PAT: ${{ env.PAT }}
70+
GITHUB_TOKEN: ${{ env.PAT }}
7171
if: github.repository_owner == 'mlcommons'
7272
run: |
73-
git config --global user.name mlcommons-bot
73+
git config --global user.name "mlcommons-bot"
7474
git config --global user.email "mlcommons-bot@users.noreply.github.com"
75-
git clone -b auto-update https://git:${PAT}@github.com/mlcommons/mlperf_inference_test_submissions_v5.0 tmp
75+
git config --global credential.https://github.com.helper ""
76+
git config --global credential.https://github.com.helper "!gh auth git-credential"
77+
git config --global credential.https://gist.github.com.helper ""
78+
git config --global credential.https://gist.github.com.helper "!gh auth git-credential"
79+
git clone -b auto-update https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 tmp
7680
cd tmp
7781
echo "hello" >> README.md
7882
git commit -a -m "Test commit"
79-
git remote set-url origin https://${PAT}@github.com/mlcommons/mlperf_inference_test_submissions_v5.0
8083
git push
8184
mlcr --tags=push,github,mlperf,inference,submission --env.MLC_GITHUB_TOKEN=$PAT --env.MLC_GIT_AUTH=yes --repo_url=https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 --repo_branch=auto-update --commit_message="Results from R50 GH action on ${{ matrix.os }}" --quiet

0 commit comments

Comments
 (0)