From 88bd45728aa84bed2ca0efa18fce4d302657c5eb Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Wed, 18 Feb 2026 23:13:33 +0100 Subject: [PATCH] [skip ci][CI] Fix || on 0 value, being treated as falsy --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4c99f5809b4..f2803aa61c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,7 +46,7 @@ jobs: # When running nightly, set fetch-depth to 0 to clone the full # repository including all branches. This is required to find the # correct commit hashes. - fetch-depth: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && 0 || 1 }} + fetch-depth: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && "0" || "1" }} - name: Grab the commit mapping if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} uses: actions/cache@v5