From 5bd05538d0485ca1a239d1760ea899d0de6949c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Sun, 29 Mar 2020 13:36:48 +0200 Subject: [PATCH] Update src/cpr/create_or_update_pull_request.py Co-Authored-By: Peter Evans --- src/cpr/create_or_update_pull_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpr/create_or_update_pull_request.py b/src/cpr/create_or_update_pull_request.py index ab189ea..ed08b24 100644 --- a/src/cpr/create_or_update_pull_request.py +++ b/src/cpr/create_or_update_pull_request.py @@ -67,7 +67,7 @@ def create_or_update_pull_request( if request_to_parent: github_repo = github_repo.parent 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}"