@@ -413,7 +413,8 @@ $optional_params_cli = @(
413
413
" review_scope" ,
414
414
" enable_default_branch" ,
415
415
" exclude_branches" ,
416
- " include_branches" ,
416
+ " include_source_branches" ,
417
+ " include_target_branches" ,
417
418
" exclude_files" ,
418
419
" exclude_draft_pr" ,
419
420
" dependency_check" ,
@@ -453,7 +454,8 @@ $optional_params_server = @(
453
454
" review_scope" ,
454
455
" enable_default_branch" ,
455
456
" exclude_branches" ,
456
- " include_branches" ,
457
+ " include_source_branches" ,
458
+ " include_target_branches" ,
457
459
" exclude_files" ,
458
460
" exclude_draft_pr" ,
459
461
" dependency_check" ,
@@ -540,7 +542,7 @@ foreach ($param in $required_params) {
540
542
foreach ($param in $optional_params ) {
541
543
if ($param -eq " dependency_check.snyk_auth_token" -and $props [" dependency_check" ] -eq " True" ) {
542
544
Ask- For- Param $param $false
543
- } elseif ($param -ne "acceptable_suggestions_enabled" -and $param -ne "dependency_check.snyk_auth_token" -and $param -ne "env" -and $param -ne "cli_path" -and $param -ne "output_path" -and $param -ne "static_analysis_tool" -and $param -ne "linters_feedback" -and $param -ne "secret_scanner_feedback" -and $param -ne "enable_default_branch" -and $param -ne "git.domain" -and $param -ne "review_scope" -and $param -ne "exclude_branches" -and $param -ne "include_branches" -and $param -ne "exclude_files" -and $param -ne "exclude_draft_pr" -and $param -ne "cr_event_type" -and $param -ne "posting_to_pr" -and $param -ne "custom_rules.configured_ws_ids" -and $param -ne "custom_rules.aws_access_key_id" -and $param -ne "custom_rules.aws_secret_access_key" -and $param -ne "custom_rules.region_name" -and $param -ne "custom_rules.bucket_name" -and $param -ne "custom_rules.aes_key" -and $param -ne "code_context_config.partial_timeout" -and $param -ne "code_context_config.max_depth" -and $param -ne "code_context_config.kill_timeout_sec") {
545
+ } elseif ($param -ne "acceptable_suggestions_enabled" -and $param -ne "dependency_check.snyk_auth_token" -and $param -ne "env" -and $param -ne "cli_path" -and $param -ne "output_path" -and $param -ne "static_analysis_tool" -and $param -ne "linters_feedback" -and $param -ne "secret_scanner_feedback" -and $param -ne "enable_default_branch" -and $param -ne "git.domain" -and $param -ne "review_scope" -and $param -ne "exclude_branches" -and $param -ne "include_source_branches" -and $param -ne "include_target_branches" -and $param -ne "exclude_files" -and $param -ne "exclude_draft_pr" -and $param -ne "cr_event_type" -and $param -ne "posting_to_pr" -and $param -ne "custom_rules.configured_ws_ids" -and $param -ne "custom_rules.aws_access_key_id" -and $param -ne "custom_rules.aws_secret_access_key" -and $param -ne "custom_rules.region_name" -and $param -ne "custom_rules.bucket_name" -and $param -ne "custom_rules.aes_key" -and $param -ne "code_context_config.partial_timeout" -and $param -ne "code_context_config.max_depth" -and $param -ne "code_context_config.kill_timeout_sec") {
544
546
Ask- For- Param $param $false
545
547
}
546
548
}
@@ -583,8 +585,10 @@ foreach ($param in $required_params + $bee_params + $optional_params) {
583
585
$docker_cmd += " --$param =$validated_boolean "
584
586
} elseif ($param -eq " exclude_branches" ) {
585
587
$docker_cmd += " --exclude_branches='$ ( $props [$param ]) '"
586
- } elseif ($param -eq " include_branches" ) {
587
- $docker_cmd += " --include_branches='$ ( $props [$param ]) '"
588
+ } elseif ($param -eq " include_source_branches" ) {
589
+ $docker_cmd += " --include_source_branches='$ ( $props [$param ]) '"
590
+ } elseif ($param -eq " include_target_branches" ) {
591
+ $docker_cmd += " --include_target_branches='$ ( $props [$param ]) '"
588
592
} elseif ($param -eq " exclude_files" ) {
589
593
$docker_cmd += " --exclude_files='$ ( $props [$param ]) '"
590
594
} elseif ($param -eq " exclude_draft_pr" ) {
0 commit comments