Update src/cpr/create_or_update_pull_request.py
Co-Authored-By: Peter Evans <peter-evans@users.noreply.github.com>
This commit is contained in:
parent
26bc40eea1
commit
5bd05538d0
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def create_or_update_pull_request(
|
||||||
if request_to_parent:
|
if request_to_parent:
|
||||||
github_repo = github_repo.parent
|
github_repo = github_repo.parent
|
||||||
if github_repo is None:
|
if github_repo is None:
|
||||||
raise ValueError("The repository is not a fork. The parameter request-to-parent should be set to false.")
|
raise ValueError("The checked out repository is not a fork. Input 'request-to-parent' should be set to false.")
|
||||||
|
|
||||||
head_branch = f"{head_repo.owner.login}:{branch}"
|
head_branch = f"{head_repo.owner.login}:{branch}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue