diff --git a/tools/generate_doc_confpy.py b/tools/generate_doc_confpy.py index b526930e..ec0b87a1 100644 --- a/tools/generate_doc_confpy.py +++ b/tools/generate_doc_confpy.py @@ -259,7 +259,7 @@ def process_repositories(args, service): if args.branch_force: push_args.append("--force") repo_to.git.push(*push_args) - if "github" in url_to and args.open_gh_pr: + if "github" in url_to: subprocess.run( args=["gh", "pr", "create", "-f"], cwd=copy_to, check=False ) @@ -345,11 +345,6 @@ def main(): ), 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() logging.basicConfig(level=logging.DEBUG)