Skip to content

Commit 4535f5c

Browse files
committed
Allow pinned PowerShell to run header verification
1 parent 6e223d5 commit 4535f5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr_validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
$installDirectory | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
7171
7272
- name: "Verify copyright headers"
73-
shell: pwsh
73+
shell: pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command ". '{0}'"
7474
run: ./scripts/Add-FileHeaders.ps1 -Verify
7575

7676
- name: "Verify compatible PowerShell 7.6 is available (SPEC.POWERSHELL.md §13 oracle gate)"

0 commit comments

Comments
 (0)