Skip to content
Merged
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
4 changes: 2 additions & 2 deletions tools/create-github-repo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ try {
& git rev-parse HEAD *> $null
if ($LASTEXITCODE -ne 0) { throw 'no commit yet; run: git add -A && git commit' }

$settings = Get-Content -Raw "$root\governance\repository-settings.json" | ConvertFrom-Json
$protection = Get-Content -Raw "$root\governance\branch-protection.json" | ConvertFrom-Json
$settings = Get-Content -Raw -Encoding UTF8 "$root\governance\repository-settings.json" | ConvertFrom-Json
$protection = Get-Content -Raw -Encoding UTF8 "$root\governance\branch-protection.json" | ConvertFrom-Json

# GitHub refuses the squash/merge title fields while that strategy is off
# ("no_squash_merge_strategy"), so only send the ones the enabled strategies
Expand Down
Loading