We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86f785f commit 2d0f337Copy full SHA for 2d0f337
script/push-mlperf-inference-results-to-github/customize.py
@@ -37,6 +37,8 @@ def preprocess(i):
37
if env.get('CM_GITHUB_PAT', '') != '':
38
token = env['CM_GITHUB_PAT']
39
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"
42
43
return {'return': 0}
44
0 commit comments