Skip to content

Commit 35f9155

Browse files
authored
Update test-mlperf-inference-rgat.yml
1 parent fc7ac94 commit 35f9155

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

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

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: MLPerf inference R-GAT
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
branches: [ "main", "dev" ]
66
paths:
77
- '.github/workflows/test-mlperf-inference-rgat.yml'
@@ -36,17 +36,22 @@ jobs:
3636
run: |
3737
mlcr --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --adr.inference-src.tags=_branch.dev --pull_changes=yes --pull_inference_changes=yes --submitter="MLCommons" --hw_name=gh_${{ matrix.os }}_x86 --model=rgat --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=500 --adr.compiler.tags=gcc --category=datacenter --quiet -v --target_qps=1
3838
39+
- name: Retrieve secrets from Keeper
40+
id: ksecrets
41+
uses: Keeper-Security/ksm-action@master
42+
with:
43+
keeper-secret-config: ${{ secrets.KSM_CONFIG }}
44+
secrets: |-
45+
ubwkjh-Ii8UJDpG2EoU6GQ/field/Access Token > env:PAT
46+
3947
- name: Push Results
40-
if: github.repository_owner == 'gateoverflow'
4148
env:
42-
USER: "GitHub Action"
43-
EMAIL: "admin@gateoverflow.com"
44-
GITHUB_TOKEN: ${{ secrets.TEST_RESULTS_GITHUB_TOKEN }}
49+
GITHUB_TOKEN: ${{ env.PAT }}
4550
run: |
46-
git config --global user.name "${{ env.USER }}"
47-
git config --global user.email "${{ env.EMAIL }}"
51+
git config --global user.name "mlcommons-bot"
52+
git config --global user.email "mlcommons-bot@users.noreply.github.com"
4853
git config --global credential.https://github.com.helper ""
4954
git config --global credential.https://github.com.helper "!gh auth git-credential"
5055
git config --global credential.https://gist.github.com.helper ""
5156
git config --global credential.https://gist.github.com.helper "!gh auth git-credential"
52-
mlcr --tags=push,github,mlperf,inference,submission --repo_url=https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 --repo_branch=auto-update --commit_message="Results from R-GAT GH action on ${{ matrix.os }}" --quiet
57+
mlcr --tags=push,github,mlperf,inference,submission --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)