Skip to content

Commit

Permalink
Add x-auth-token (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
neubig authored Sep 27, 2024
1 parent 4fd34a0 commit 8450cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_resolver/send_pull_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def send_pull_request(
push_owner = fork_owner if fork_owner else github_issue.owner
push_repo = github_issue.repo

username_and_token = f"{github_username}:{github_token}" if github_username else github_token
username_and_token = f"{github_username}:{github_token}" if github_username else f"x-auth-token:{github_token}"
push_command = (
f"git -C {patch_dir} push "
f"https://{username_and_token}@github.com/"
Expand Down

0 comments on commit 8450cf7

Please sign in to comment.