File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -422,6 +422,7 @@ optional_params_cli=(
422422 " review_scope"
423423 " enable_default_branch"
424424 " exclude_branches"
425+ " include_branches"
425426 " exclude_files"
426427 " exclude_draft_pr"
427428 " dependency_check"
@@ -462,6 +463,7 @@ optional_params_server=(
462463 " review_scope"
463464 " enable_default_branch"
464465 " exclude_branches"
466+ " include_branches"
465467 " exclude_files"
466468 " exclude_draft_pr"
467469 " dependency_check"
546548for param in " ${optional_params[@]} " ; do
547549 if [ " $param " == " dependency_check.snyk_auth_token" ] && [ " ${props["dependency_check"]} " == " True" ]; then
548550 ask_for_param " $param " " False"
549- 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" != "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
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
550552 ask_for_param " $param " " False"
551553 fi
552554done
@@ -595,6 +597,8 @@ for param in "${required_params[@]}" "${bee_params[@]}" "${optional_params[@]}";
595597 docker_cmd+=" --enable_default_branch=${props[$param]} "
596598 elif [ " $param " == " exclude_branches" ]; then
597599 docker_cmd+=" --exclude_branches='${props[$param]} '"
600+ elif [ " $param " == " include_branches" ]; then
601+ docker_cmd+=" --include_branches='${props[$param]} '"
598602 elif [ " $param " == " exclude_files" ]; then
599603 docker_cmd+=" --exclude_files='${props[$param]} '"
600604 elif [ " $param " == " exclude_draft_pr" ]; then
You can’t perform that action at this time.
0 commit comments