Skip to content

Commit 67930c2

Browse files
author
David Cavazos
committed
test explicitly against empty array
1 parent 4696f68 commit 67930c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/custard-run-dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
create-check-if: ${{ !!github.event.workflow_run }}
5555

5656
test:
57-
if: needs.affected.outputs.paths
57+
if: needs.affected.outputs.paths != '[]'
5858
needs: affected
5959
runs-on: ubuntu-latest
6060
timeout-minutes: 120 # 2 hours hard limit

.github/workflows/custard-run.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
status: failure
9494

9595
test:
96-
if: needs.affected.outputs.paths
96+
if: needs.affected.outputs.paths != '[]'
9797
needs: affected
9898
runs-on: ubuntu-latest
9999
timeout-minutes: 120 # 2 hours hard limit

0 commit comments

Comments
 (0)