From 750276ffd307914094cad203093e2b0329630991 Mon Sep 17 00:00:00 2001 From: Torrey Payne <11740989+torreypayne@users.noreply.github.com> Date: Fri, 25 Sep 2026 23:09:20 +0000 Subject: [PATCH] chore(ci): run toys ci under bash so the Windows leg tests again On windows-latest the default run shell is pwsh, where "$VAR" reads an unset PowerShell variable instead of the environment variable. Since #36206 moved the event values into env:, the Windows leg has passed empty --github-event-name/--github-event-payload values to toys ci, which then falls back to a local diff and tests nothing. Set shell: bash on the step. Linux and macOS already default to bash. Also quote the event variables. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ba0da7f9573..b87173afcaf4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,8 +74,11 @@ jobs: GITHUB_EVENT_NAME: ${{ github.event_name }} GITHUB_EVENT_PATH: ${{ github.event_path }} GITHUB_EVENT_INPUTS_FLAGS: ${{ github.event.inputs.flags }} + # Force bash: windows-latest defaults to pwsh, where "${VAR}" reads an + # (unset) PowerShell variable instead of the env var above. + shell: bash run: | - toys ci -v ${{ matrix.task }} --github-event-name=${GITHUB_EVENT_NAME} --github-event-payload=${GITHUB_EVENT_PATH} ${GITHUB_EVENT_INPUTS_FLAGS} + toys ci -v ${{ matrix.task }} --github-event-name="${GITHUB_EVENT_NAME}" --github-event-payload="${GITHUB_EVENT_PATH}" ${GITHUB_EVENT_INPUTS_FLAGS} - name: Open Issues if: ${{ failure() }} env: