mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-12 18:41:27 +02: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
|
fi
|
||||||
|
|
||||||
# Clean previously reported issues
|
# 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
|
# If there is an issue with the addon name in title, put a message
|
||||||
OPENISSUES=$(sed -n "/\"Title\".*$f/I p" issueslist)
|
OPENISSUES=$(sed -n "/\"Title\".*$f/I p" issueslist)
|
||||||
@@ -51,8 +51,8 @@ jobs:
|
|||||||
while read -r line
|
while read -r line
|
||||||
do
|
do
|
||||||
line=${line#* \"}
|
line=${line#* \"}
|
||||||
line=${line::-2}
|
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)"
|
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"
|
done <<< "$OPENISSUES"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user