Skip to content

Commit 28e4946

Browse files
authored
Merge branch 'dev' into dev
2 parents 69c8943 + 530dbf9 commit 28e4946

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ def preprocess(i):
3737
if env.get('CM_GITHUB_PAT', '') != '':
3838
token = env['CM_GITHUB_PAT']
3939
if token == "PAT":
40-
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://git:\\$PAT@{p.host}/{p.owner}/{p.repo}"""
40+
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://\\$PAT@{p.host}/{p.owner}/{p.repo}"""
4141
else:
42-
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://git:{token}@{p.host}/{p.owner}/{p.repo}"""
42+
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://{token}@{p.host}/{p.owner}/{p.repo}"""
4343

4444
return {'return': 0}
4545

0 commit comments

Comments
 (0)