Skip to content

Commit 2d0f337

Browse files
authored
Update customize.py
1 parent 86f785f commit 2d0f337

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script/push-mlperf-inference-results-to-github/customize.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def preprocess(i):
3737
if env.get('CM_GITHUB_PAT', '') != '':
3838
token = env['CM_GITHUB_PAT']
3939
env['CM_GIT_PUSH_CMD'] = f"""git push https://x-access-token:{env['CM_GITHUB_PAT']}@{p.host}/{p.owner}/{p.repo}"""
40+
else:
41+
env['CM_GIT_PUSH_CMD'] = "git push"
4042

4143
return {'return': 0}
4244

0 commit comments

Comments
 (0)