@@ -422,7 +422,8 @@ optional_params_cli=(
422
422
" review_scope"
423
423
" enable_default_branch"
424
424
" exclude_branches"
425
- " include_branches"
425
+ " include_source_branches"
426
+ " include_target_branches"
426
427
" exclude_files"
427
428
" exclude_draft_pr"
428
429
" dependency_check"
@@ -463,7 +464,8 @@ optional_params_server=(
463
464
" review_scope"
464
465
" enable_default_branch"
465
466
" exclude_branches"
466
- " include_branches"
467
+ " include_source_branches"
468
+ " include_target_branches"
467
469
" exclude_files"
468
470
" exclude_draft_pr"
469
471
" dependency_check"
548
550
for param in " ${optional_params[@]} " ; do
549
551
if [ " $param " == " dependency_check.snyk_auth_token" ] && [ " ${props["dependency_check"]} " == " True" ]; then
550
552
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
552
554
ask_for_param " $param " " False"
553
555
fi
554
556
done
@@ -597,8 +599,10 @@ for param in "${required_params[@]}" "${bee_params[@]}" "${optional_params[@]}";
597
599
docker_cmd+=" --enable_default_branch=${props[$param]} "
598
600
elif [ " $param " == " exclude_branches" ]; then
599
601
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]} '"
602
606
elif [ " $param " == " exclude_files" ]; then
603
607
docker_cmd+=" --exclude_files='${props[$param]} '"
604
608
elif [ " $param " == " exclude_draft_pr" ]; then
0 commit comments