From ad7941c4d2106f6fc460280eb665cae839dd6d55 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Thu, 14 Sep 2023 18:29:55 -0600 Subject: [PATCH] [CI] Ensure teddit urls are not null before filter Teddit's instance file contains null URL entries, which was breaking the nightly build. This ensures that the URL exists for an entry before continuing with processing. --- .github/workflows/update-instances.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml index 5fd4593..e0c4899 100644 --- a/.github/workflows/update-instances.yml +++ b/.github/workflows/update-instances.yml @@ -170,6 +170,7 @@ jobs: curl -s https://codeberg.org/teddit/teddit/raw/branch/main/instances.json | \ jq '[ .[] | + select(.url != null) | select(.url | contains("https")) | .url ] | sort' > teddit-tmp.json