Skip to content

Commit 0a61c8b

Browse files
authored
Work around exit code from find in health check (#121)
1 parent 161b572 commit 0a61c8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/health-check-integrity.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
name: Setup configuration
8484
run: |
8585
cd api/energy-price/v2 || exit 0
86-
find 2??? -type d -mindepth 3 -maxdepth 3 -name "${{ matrix.zone }}" | sort | tail -n +2 | head -n-1 | while read f; do
86+
(find 2??? -type d -mindepth 3 -maxdepth 3 -name "${{ matrix.zone }}" || echo '') | sort | tail -n +2 | head -n-1 | while read f; do
8787
file="${f}/index.json"
8888
if [ ! -f "$file" ]; then
8989
echo "$file is missing"

0 commit comments

Comments
 (0)