Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/actions/commenting/expectations/v1/Parameters.psd1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@{
Parameters = @(
@{
Name = 'Repository'
Name = 'repository'
Type = 'string'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down Expand Up @@ -31,7 +31,7 @@
}

@{
Name = 'Message_Body'
Name = 'message_body'
Type = 'String'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down Expand Up @@ -75,7 +75,7 @@
}

@{
Name = 'Message_Path'
Name = 'message_path'
Type = 'String'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down
14 changes: 7 additions & 7 deletions .github/actions/reporting/stale-content/v1/Parameters.psd1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@{
Parameters = @(
@{
Name = 'Relative_Folder_Path'
Name = 'relative_folder_path'
Type = 'String[]'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down Expand Up @@ -33,7 +33,7 @@
}

@{
Name = 'Exclude_Folder_Segment'
Name = 'exclude_folder_segment'
Type = 'String[]'
IfNullOrEmpty = {
param($ErrorTarget)
Expand All @@ -56,7 +56,7 @@
}

@{
Name = 'Days_Until_Stale'
Name = 'days_until_stale'
Type = 'Int'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down Expand Up @@ -91,7 +91,7 @@
}

@{
Name = 'Stale_Since_Date'
Name = 'stale_since_date'
Type = 'DateTime'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down Expand Up @@ -125,7 +125,7 @@
}

@{
Name = 'Upload_Artifact'
Name = 'upload_artifact'
Type = 'Bool'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down Expand Up @@ -166,7 +166,7 @@
}

@{
Name = 'Export_As_Csv'
Name = 'export_as_csv'
Type = 'Bool'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down Expand Up @@ -206,7 +206,7 @@
}

@{
Name = 'Export_Path'
Name = 'export_path'
Type = 'string'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@{
Parameters = @(
@{
Name = 'Repository'
Name = 'repository'
Type = 'String'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down Expand Up @@ -31,7 +31,7 @@
}

@{
Name = 'Number'
Name = 'number'
Type = 'Int'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down Expand Up @@ -61,7 +61,7 @@
}

@{
Name = 'Include_Path_Pattern'
Name = 'include_path_pattern'
Type = 'String[]'
IfNullOrEmpty = {
# It's okay if this parameter is not specified.
Expand All @@ -84,7 +84,7 @@
}
}
@{
Name = 'Exclude_Path_Pattern'
Name = 'exclude_path_pattern'
Type = 'String[]'
IfNullOrEmpty = {
# It's okay if this parameter is not specified.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
Process = {
param($Parameters, $Value, $ErrorTarget)

[string[]]$SpecifiedAccounts = $Value -split ','
[string[]]$SpecifiedAccounts = $Value -split ',' | Where-Object {
-not [string]::IsNullOrEmpty($_)
}

if ($SpecifiedAccounts.Count -gt 0) {
$Parameters.AuthorizedAccounts = $SpecifiedAccounts
Write-HostParameter -Name AuthorizedAccounts -Value $Parameters.AuthorizedAccounts
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/verification/checklist/v1/Parameters.psd1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@{
Parameters = @(
@{
Name = 'Body'
Name = 'body'
Type = 'string'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down Expand Up @@ -30,7 +30,7 @@
}

@{
Name = 'Reference_Url'
Name = 'reference_url'
Type = 'string'
IfNullOrEmpty = {
param($ErrorTarget)
Expand Down
Loading