@@ -422,7 +422,8 @@ optional_params_cli=(
422422 " review_scope"
423423 " enable_default_branch"
424424 " exclude_branches"
425- " include_branches"
425+ " include_source_branches"
426+ " include_target_branches"
426427 " exclude_files"
427428 " exclude_draft_pr"
428429 " dependency_check"
@@ -463,7 +464,8 @@ optional_params_server=(
463464 " review_scope"
464465 " enable_default_branch"
465466 " exclude_branches"
466- " include_branches"
467+ " include_source_branches"
468+ " include_target_branches"
467469 " exclude_files"
468470 " exclude_draft_pr"
469471 " dependency_check"
548550for param in " ${optional_params[@]} " ; do
549551 if [ " $param " == " dependency_check.snyk_auth_token" ] && [ " ${props["dependency_check"]} " == " True" ]; then
550552 ask_for_param " $param " " False"
551- elif [ "$param" != "acceptable_suggestions_enabled" ] && [ "$param" != "dependency_check.snyk_auth_token" ] && [ "$param" != "env" ] && [ "$param" != "cli_path" ] && [ "$param" != "output_path" ] && [ "$param" != "static_analysis_tool" ] && [ "$param" != "linters_feedback" ] && [ "$param" != "secret_scanner_feedback" ] && [ "$param" != "enable_default_branch" ] && [ "$param" != "git.domain" ] && [ "$param" != "review_scope" ] && [ "$param" != "exclude_branches" ] && [ "$param" != "include_branches" ] && [ "$param" != "nexus_url" ] && [ "$param" != "exclude_files" ] && [ "$param" != "exclude_draft_pr" ] && [ "$param" != "cr_event_type" ] && [ "$param" != "posting_to_pr" ] && [ "$param" != "custom_rules.configured_ws_ids" ] && [ "$param" != "custom_rules.aws_access_key_id" ] && [ "$param" != "custom_rules.aws_secret_access_key" ] && [ "$param" != "custom_rules.region_name" ] && [ "$param" != "custom_rules.bucket_name" ] && [ "$param" != "custom_rules.aes_key" ] && [ "$param" != "code_context_config.partial_timeout" ] && [ "$param" != "code_context_config.max_depth" ] && [ "$param" != "code_context_config.kill_timeout_sec" ]; then
553+ elif [ "$param" != "acceptable_suggestions_enabled" ] && [ "$param" != "dependency_check.snyk_auth_token" ] && [ "$param" != "env" ] && [ "$param" != "cli_path" ] && [ "$param" != "output_path" ] && [ "$param" != "static_analysis_tool" ] && [ "$param" != "linters_feedback" ] && [ "$param" != "secret_scanner_feedback" ] && [ "$param" != "enable_default_branch" ] && [ "$param" != "git.domain" ] && [ "$param" != "review_scope" ] && [ "$param" != "exclude_branches" ] && [ "$param" != "include_source_branches" ] && [ "$param" != "include_target_branches" ] && [ "$param" != "nexus_url" ] && [ "$param" != "exclude_files" ] && [ "$param" != "exclude_draft_pr" ] && [ "$param" != "cr_event_type" ] && [ "$param" != "posting_to_pr" ] && [ "$param" != "custom_rules.configured_ws_ids" ] && [ "$param" != "custom_rules.aws_access_key_id" ] && [ "$param" != "custom_rules.aws_secret_access_key" ] && [ "$param" != "custom_rules.region_name" ] && [ "$param" != "custom_rules.bucket_name" ] && [ "$param" != "custom_rules.aes_key" ] && [ "$param" != "code_context_config.partial_timeout" ] && [ "$param" != "code_context_config.max_depth" ] && [ "$param" != "code_context_config.kill_timeout_sec" ]; then
552554 ask_for_param " $param " " False"
553555 fi
554556done
@@ -597,8 +599,10 @@ for param in "${required_params[@]}" "${bee_params[@]}" "${optional_params[@]}";
597599 docker_cmd+=" --enable_default_branch=${props[$param]} "
598600 elif [ " $param " == " exclude_branches" ]; then
599601 docker_cmd+=" --exclude_branches='${props[$param]} '"
600- elif [ " $param " == " include_branches" ]; then
601- docker_cmd+=" --include_branches='${props[$param]} '"
602+ elif [ " $param " == " include_source_branches" ]; then
603+ docker_cmd+=" --include_source_branches='${props[$param]} '"
604+ elif [ " $param " == " include_target_branches" ]; then
605+ docker_cmd+=" --include_target_branches='${props[$param]} '"
602606 elif [ " $param " == " exclude_files" ]; then
603607 docker_cmd+=" --exclude_files='${props[$param]} '"
604608 elif [ " $param " == " exclude_draft_pr" ]; then
0 commit comments