Added search index params on confpy #92

Merged
zuul merged 4 commits from search_index_params into main 2023-05-30 08:58:44 +00:00
2 changed files with 17 additions and 0 deletions
Showing only changes of commit 9a3ea95018 - Show all commits

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)