diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70c8a7e..c64c3bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,7 @@ name: Release on: - push: - branches: - - master + # Keep releases manual-only so default-branch merges do not request approval. workflow_dispatch: inputs: version: diff --git a/scripts/Parity-Compare-WingetParity.ps1 b/scripts/Parity-Compare-WingetParity.ps1 index 6daff0b..0a27696 100644 --- a/scripts/Parity-Compare-WingetParity.ps1 +++ b/scripts/Parity-Compare-WingetParity.ps1 @@ -246,7 +246,7 @@ function Get-DotnetSettingsObject { function Get-PowerShellSettingsObject { Import-PingetPowerShellModule - return Get-PingetUserSettings -ErrorAction Stop + return Get-PingetUserSetting -ErrorAction Stop } function Assert-TestSettingsVisible { @@ -649,7 +649,7 @@ try { Write-Section "Settings roundtrip" $testSettings = New-TestSettingsHashtable - Set-PingetUserSettings -UserSettings $testSettings -ErrorAction Stop | Out-Null + Set-PingetUserSetting -UserSettings $testSettings -ErrorAction Stop | Out-Null Assert-True -Condition (Test-Path -Path $settingsPath) -Message "PowerShell settings write did not create the packaged settings file." Assert-TestSettingsVisible -SettingsObject (Get-RustSettingsObject) -Label "Rust pinget settings export" Assert-TestSettingsVisible -SettingsObject (Get-DotnetSettingsObject) -Label "C# pinget settings export"