Skip to content

Commit 468b05a

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: [skip ci][CI] Fix || on 0 value, being treated as falsy
2 parents 0e85b4b + 4896bc2 commit 468b05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
# When running nightly, set fetch-depth to 0 to clone the full
4747
# repository including all branches. This is required to find the
4848
# correct commit hashes.
49-
fetch-depth: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && 0 || 1 }}
49+
fetch-depth: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && "0" || "1" }}
5050
- name: Grab the commit mapping
5151
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
5252
uses: actions/cache@v5

0 commit comments

Comments
 (0)