Skip to content

Commit cbf5253

Browse files
authored
Update bito-cra.ps1 for include_branches
1 parent 7b95502 commit cbf5253

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cra-scripts/bito-cra.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ $optional_params_cli = @(
413413
"review_scope",
414414
"enable_default_branch",
415415
"exclude_branches",
416+
"include_branches",
416417
"exclude_files",
417418
"exclude_draft_pr",
418419
"dependency_check",
@@ -581,6 +582,8 @@ foreach ($param in $required_params + $bee_params + $optional_params) {
581582
$docker_cmd += " --$param=$validated_boolean"
582583
} elseif ($param -eq "exclude_branches") {
583584
$docker_cmd += " --exclude_branches='$($props[$param])'"
585+
} elseif ($param -eq "include_branches") {
586+
$docker_cmd += " --include_branches='$($props[$param])'"
584587
} elseif ($param -eq "exclude_files") {
585588
$docker_cmd += " --exclude_files='$($props[$param])'"
586589
} elseif ($param -eq "exclude_draft_pr") {

0 commit comments

Comments
 (0)