[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.
This commit is contained in:
parent
21c15528a5
commit
ad7941c4d2
1 changed files with 1 additions and 0 deletions
1
.github/workflows/update-instances.yml
vendored
1
.github/workflows/update-instances.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue