mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update daily_README.yaml
This commit is contained in:
6
.github/workflows/daily_README.yaml
vendored
6
.github/workflows/daily_README.yaml
vendored
@@ -43,7 +43,7 @@ jobs:
|
||||
fi
|
||||
|
||||
# Clean previously reported issues
|
||||
find "$f" -iname readme.md -print0 | xargs -0 sed -i "/Open Issue :/d"
|
||||
sed -i "/Open Issue :/d" "$f"/README.md
|
||||
|
||||
# If there is an issue with the addon name in title, put a message
|
||||
OPENISSUES=$(sed -n "/\"Title\".*$f/I p" issueslist)
|
||||
@@ -51,8 +51,8 @@ jobs:
|
||||
while read -r line
|
||||
do
|
||||
line=${line#* \"}
|
||||
line=${line::-2}
|
||||
find "$f" -iname readme.md -print0 | xargs -0 sed -i "1i Open Issue : [$line](https://github.com/alexbelgium/hassio-addons/issues?q=is%3Aissue+is%3Aopen+$f)"
|
||||
line=${line::-2)
|
||||
sed -i "1i ## Warning! Open Issue : [$line](https://github.com/alexbelgium/hassio-addons/issues?q=is%3Aissue+is%3Aopen+$f)" "$f"/README.md
|
||||
done <<< "$OPENISSUES"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user