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.
2 parents 28e4946 + 233bc96 commit 7fd1715Copy full SHA for 7fd1715
script/push-mlperf-inference-results-to-github/customize.py
@@ -37,7 +37,8 @@ def preprocess(i):
37
if env.get('CM_GITHUB_PAT', '') != '':
38
token = env['CM_GITHUB_PAT']
39
if token == "PAT":
40
- env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://\\$PAT@{p.host}/{p.owner}/{p.repo}"""
+ env['CM_SET_REMOTE_URL_CMD'] = r"""git remote set-url origin https://\$PAT@""" + \
41
+ f"""{p.host}/{p.owner}/{p.repo}"""
42
else:
43
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://{token}@{p.host}/{p.owner}/{p.repo}"""
44
0 commit comments