Removed gh pr argument
All checks were successful
gl/check check status: success (9a3ea9501829d4fc9ab353703d3ea863bf0bab8f)

This commit is contained in:
SebastianGode 2023-05-24 13:15:04 +02:00
parent 22594ecced
commit 9a3ea95018

View File

@ -259,7 +259,7 @@ def process_repositories(args, service):
if args.branch_force: if args.branch_force:
push_args.append("--force") push_args.append("--force")
repo_to.git.push(*push_args) repo_to.git.push(*push_args)
if "github" in url_to and args.open_gh_pr: if "github" in url_to:
subprocess.run( subprocess.run(
args=["gh", "pr", "create", "-f"], cwd=copy_to, check=False args=["gh", "pr", "create", "-f"], cwd=copy_to, check=False
) )
@ -345,11 +345,6 @@ def main():
), ),
help="Commit description for the commit", help="Commit description for the commit",
) )
parser.add_argument(
"--open-gh-pr",
action="store_true",
help="Whether to open a PR on GitHub"
)
args = parser.parse_args() args = parser.parse_args()
logging.basicConfig(level=logging.DEBUG) logging.basicConfig(level=logging.DEBUG)