Skip to content

Commit

Permalink
try to push to the main repo
Browse files Browse the repository at this point in the history
  • Loading branch information
akuzm committed Feb 21, 2025
1 parent 0c25499 commit e4c5eba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ jobs:
git push pat31 @:refs/heads/backport/test9 -f
scripts/backport.py 2>&1
git remote --verbose
2 changes: 1 addition & 1 deletion scripts/backport.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def report_backport_not_done(original_pr, reason, details=None):
target_remote = "backport-target-remote"
git_returncode(f"remote remove {target_remote}")
git_check(
f'remote add {target_remote} https://{os.environ["GITHUB_TOKEN"]}@github.com/{token_user.login}/{source_repo.name}.git'
f'remote add {target_remote} https://{os.environ["GITHUB_TOKEN"]}@github.com/{source_repo.owner.login}/{source_repo.name}.git'
)

# Fetch all branches from the target repository, because we use the presence
Expand Down

0 comments on commit e4c5eba

Please sign in to comment.