Skip to content

Commit 8161ff1

Browse files
Fix casing for repository properties in UpdateReadme.ps1
1 parent b3ba315 commit 8161ff1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/scripts/UpdateReadme.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ $owner = $env:GITHUB_REPOSITORY_OWNER
1010
LogGroup "Connect to organization [$owner]" {
1111
Connect-GitHubApp -Organization $owner -Default
1212
Write-Output "Owner: $owner"
13-
$rawRepos = Get-GitHubRepository -Organization $owner
13+
$rawRepos = Get-GitHubRepository -Organization $owner -AdditionalProperty Description
1414
Write-Output "Found $($rawRepos.Count) repositories"
1515
$repos = $rawRepos | ForEach-Object {
1616
$rawRepo = $_
1717
$properties = Get-GitHubRepositoryCustomProperty -Owner $owner -Repo $rawRepo.name
1818
$properties | Where-Object { $_.property_name -eq 'Type' } | ForEach-Object {
1919
$type = $_.value
2020
[pscustomobject]@{
21-
Name = $rawRepo.name
21+
Name = $rawRepo.Name
2222
Owner = $owner
2323
Type = $type
24-
Description = $rawRepo.description
24+
Description = $rawRepo.Description
2525
}
2626
}
2727
} | Sort-Object Type, Name

0 commit comments

Comments
 (0)