diff --git a/scripts/pyutils/ghutils.py b/scripts/pyutils/ghutils.py index 6c9f8f67f8..ca6ee128a5 100644 --- a/scripts/pyutils/ghutils.py +++ b/scripts/pyutils/ghutils.py @@ -81,7 +81,7 @@ def create_pr(self, base_branch, branch_name, title, desc): return None if (self.org == _DEFAULT_ORG and self.repo == _DEFAULT_REPO and - self.is_branch_under_active_development(branch_name)): + self.is_branch_under_active_development(base_branch)): base_branch = "main" pull_req = self.gh_repo.create_pull(