diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f26aa31..0defa832 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com ## [Unreleased] +- Fix a regression that caused an execution policy violation on self-hosted Windows runner due to use of non-default `powershell` shell, introduced in 2.71.0. + - Update `dprint@latest` to 0.53.2. ## [2.71.0] - 2026-04-01 diff --git a/action.yml b/action.yml index e2bf5187..621f3429 100644 --- a/action.yml +++ b/action.yml @@ -58,7 +58,7 @@ runs: Set-StrictMode -Version Latest $action_path = $env:GITHUB_ACTION_PATH & bash --noprofile --norc "${action_path}/main.sh" - shell: powershell + shell: pwsh env: # NB: Sync with non-Windows case. INPUT_TOOL: ${{ inputs.tool }}