Skip to content

Commit

Permalink
Change default
Browse files Browse the repository at this point in the history
  • Loading branch information
martyzz1 committed Jun 26, 2024
1 parent 0a7a589 commit 3fa02e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitfeatures/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit 3fa02e3

Please sign in to comment.