From 180ecaddbf9524b0caa701352c761c0131bbe037 Mon Sep 17 00:00:00 2001 From: Shirofune-Security <43838376+Shirofune-Security@users.noreply.github.com> Date: Tue, 22 Sep 2026 10:22:44 +0900 Subject: [PATCH] Use explicit supported shells for native collector smoke --- .github/workflows/wec-collector-observation.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wec-collector-observation.yml b/.github/workflows/wec-collector-observation.yml index d43580c3..dc1b3aa4 100644 --- a/.github/workflows/wec-collector-observation.yml +++ b/.github/workflows/wec-collector-observation.yml @@ -33,8 +33,13 @@ jobs: ./tests/WecSubscriptionXml.Tests.ps1 ./tests/WefDeployment.Tests.ps1 ./tests/WefDeployment.Cli.Tests.ps1 - - name: Existing read-only source and collector service preservation - shell: ${{ matrix.engine }} + - name: Existing read-only service preservation in Windows PowerShell 5.1 + if: matrix.engine == 'powershell' + shell: powershell + run: ./tests/WefDeployment.Windows.Tests.ps1 + - name: Existing read-only service preservation in PowerShell 7 + if: matrix.engine == 'pwsh' + shell: pwsh run: ./tests/WefDeployment.Windows.Tests.ps1 - name: Actual public collector observations in Windows PowerShell 5.1 if: matrix.engine == 'powershell'