From 3fa02e3d345a57c34396ccdef6353306f63612bf Mon Sep 17 00:00:00 2001 From: Martin Moss Date: Wed, 26 Jun 2024 22:13:28 +0100 Subject: [PATCH] Change default --- gitfeatures/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitfeatures/core.py b/gitfeatures/core.py index 4fbd0dd..486bc6f 100644 --- a/gitfeatures/core.py +++ b/gitfeatures/core.py @@ -11,7 +11,7 @@ seperator = os.environ.get("GITFEATURES_BRANCH_SEPERATOR", "_") repo = os.environ.get("GITFEATURES_REPO", "github") merge_strategy = os.environ.get("GITFEATURES_STRATEGY", "merge") -fork_pr_strategy = os.environ.get("GITFEATURES_FORK_PR_STRATEGY", "private") +fork_pr_strategy = os.environ.get("GITFEATURES_FORK_PR_STRATEGY", "") def _call(args): @@ -209,7 +209,7 @@ def pullrequest(args): def _get_pullrequest_url(name, branch): - print("pullrequest", name, branch) + print("pullrequest", name, branch, fork_pr_strategy) if repo == "github": if fork_pr_strategy == "private": url = f"https://github.com/{name}/compare/{master_branch}...{branch}"