1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

[skip ci][CI] Fix || on 0 value, being treated as falsy

This commit is contained in:
Ilija Tovilo
2026-02-18 23:13:33 +01:00
parent 37528afdad
commit 88bd45728a

View File

@@ -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