File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -422,6 +422,7 @@ optional_params_cli=(
422
422
" review_scope"
423
423
" enable_default_branch"
424
424
" exclude_branches"
425
+ " include_branches"
425
426
" exclude_files"
426
427
" exclude_draft_pr"
427
428
" dependency_check"
@@ -462,6 +463,7 @@ optional_params_server=(
462
463
" review_scope"
463
464
" enable_default_branch"
464
465
" exclude_branches"
466
+ " include_branches"
465
467
" exclude_files"
466
468
" exclude_draft_pr"
467
469
" dependency_check"
546
548
for param in " ${optional_params[@]} " ; do
547
549
if [ " $param " == " dependency_check.snyk_auth_token" ] && [ " ${props["dependency_check"]} " == " True" ]; then
548
550
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
550
552
ask_for_param " $param " " False"
551
553
fi
552
554
done
@@ -595,6 +597,8 @@ for param in "${required_params[@]}" "${bee_params[@]}" "${optional_params[@]}";
595
597
docker_cmd+=" --enable_default_branch=${props[$param]} "
596
598
elif [ " $param " == " exclude_branches" ]; then
597
599
docker_cmd+=" --exclude_branches='${props[$param]} '"
600
+ elif [ " $param " == " include_branches" ]; then
601
+ docker_cmd+=" --include_branches='${props[$param]} '"
598
602
elif [ " $param " == " exclude_files" ]; then
599
603
docker_cmd+=" --exclude_files='${props[$param]} '"
600
604
elif [ " $param " == " exclude_draft_pr" ]; then
You can’t perform that action at this time.
0 commit comments