Skip to content

Commit

Permalink
Fix another bisection
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Jan 28, 2024
1 parent 9c1f91d commit 82e5ab8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

DEFAULT_GH_ISSUE_OWNER = "@xuzhao9"

def process_bisection_into_gh_issue(bisection_output_json: str, output_path: str) -> None:
def process_bisection_into_gh_issue(bisection_output_json: str, output_path: str, github_owner:str=DEFAULT_GH_ISSUE_OWNER) -> None:
with open(bisection_output_json, "r") as fp:
bisection = json.load(fp)

Expand All @@ -49,9 +49,9 @@ def process_bisection_into_gh_issue(bisection_output_json: str, output_path: str
"treatment_commit": treatment_commit,
"control_version": control_version,
"treatment_version": treatment_version,
"result": result,
"result": bisection["result"],
"github_run_url": github_run_url,
"owner": DEFAULT_GH_ISSUE_OWNER
"owner": github_owner,
}

issue_body = GITHUB_ISSUE_TEMPLATE.format(**issue_config)
Expand Down

0 comments on commit 82e5ab8

Please sign in to comment.