From c03d3084ab4f4dbff3f5873cb281289bdbf3f40e Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Tue, 21 Jul 2026 08:18:52 +0200 Subject: [PATCH] fix(reusables): force shell: bash so run steps work on windows runners python-ci.yml, node-test.yml, node-build.yml use bash syntax (case validation, bash -c command routing). On windows-latest the default shell is PowerShell, so these ParserError / silently no-op. Set defaults.run.shell to bash. Fixes windows matrix cells (e.g. coding_agent_cli_toolset's os-matrix, red on main since the uv/package-manager change). Signed-off-by: Sebastian Mendel --- .github/workflows/node-build.yml | 3 +++ .github/workflows/node-test.yml | 3 +++ .github/workflows/python-ci.yml | 1 + 3 files changed, 7 insertions(+) diff --git a/.github/workflows/node-build.yml b/.github/workflows/node-build.yml index 6f10d68..a6e9c09 100644 --- a/.github/workflows/node-build.yml +++ b/.github/workflows/node-build.yml @@ -101,6 +101,9 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} permissions: contents: read + defaults: + run: + shell: bash steps: - name: Harden Runner uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0 diff --git a/.github/workflows/node-test.yml b/.github/workflows/node-test.yml index b784f5a..cf80f37 100644 --- a/.github/workflows/node-test.yml +++ b/.github/workflows/node-test.yml @@ -127,6 +127,9 @@ jobs: fail-fast: false matrix: node: ${{ fromJSON(inputs.test-matrix != '' && inputs.test-matrix || format('["{0}"]', inputs.node-version)) }} + defaults: + run: + shell: bash steps: - name: Harden Runner uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0 diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 6769d20..ca27c37 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -218,6 +218,7 @@ jobs: python: ${{ fromJSON(inputs.python-versions) }} defaults: run: + shell: bash working-directory: ${{ inputs.working-directory }} steps: - name: Harden Runner