mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update daily_README.yaml
This commit is contained in:
11
.github/workflows/daily_README.yaml
vendored
11
.github/workflows/daily_README.yaml
vendored
@@ -31,7 +31,16 @@ jobs:
|
|||||||
if [ "$(jq '.image' "$f/config.json")" != null ]; then
|
if [ "$(jq '.image' "$f/config.json")" != null ]; then
|
||||||
sed -i "/$f/ s/ # Image : yes//g" ".github/paths-filter.yml"
|
sed -i "/$f/ s/ # Image : yes//g" ".github/paths-filter.yml"
|
||||||
sed -i "/$f/ s/$/ # Image : yes/" ".github/paths-filter.yml"
|
sed -i "/$f/ s/$/ # Image : yes/" ".github/paths-filter.yml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If there is an issue, put a message
|
||||||
|
OPENISSUES="$(curl -s https://github.com/alexbelgium/hassio-addons/issues?q=is%3Aopen+is%3Aissue+label%3Abug | grep $f)"
|
||||||
|
if [ "$OPENISSUES" != "" ]; then
|
||||||
|
sed -i "1a Open Issue : $OPENISSUES" "$f/Readme.md"
|
||||||
|
else
|
||||||
|
sed -i "/Open Issues :/d" "$f/Readme.md"
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
# Sort yaml
|
# Sort yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user