Commit 88bd45728aa for php.net
commit 88bd45728aa84bed2ca0efa18fce4d302657c5eb
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date: Wed Feb 18 23:13:33 2026 +0100
[skip ci][CI] Fix || on 0 value, being treated as falsy
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