mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-29 02:36:05 +02:00
Update daily_README.yaml
This commit is contained in:
4
.github/workflows/daily_README.yaml
vendored
4
.github/workflows/daily_README.yaml
vendored
@@ -24,9 +24,6 @@ jobs:
|
|||||||
# Go through all folders, add to filters if not existing
|
# Go through all folders, add to filters if not existing
|
||||||
for f in $( find -- * -maxdepth 0 -type d | sort -r ); do
|
for f in $( find -- * -maxdepth 0 -type d | sort -r ); do
|
||||||
if [ -f "$f"/config.json ]; then
|
if [ -f "$f"/config.json ]; then
|
||||||
|
|
||||||
# Clean variable
|
|
||||||
OPENISSUES=""
|
|
||||||
|
|
||||||
# Rename Readme
|
# Rename Readme
|
||||||
[ -f "$f"/Readme.md ] && mv "$f"/Readme.md "$f"/README.md
|
[ -f "$f"/Readme.md ] && mv "$f"/Readme.md "$f"/README.md
|
||||||
@@ -47,6 +44,7 @@ jobs:
|
|||||||
|
|
||||||
# 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
|
||||||
mapfile -t arr < <(jq -r 'keys[]' "${issueslist}")
|
mapfile -t arr < <(jq -r 'keys[]' "${issueslist}")
|
||||||
|
# shellscript disable=SC2066
|
||||||
for KEYS in "${arr[0]}"; do
|
for KEYS in "${arr[0]}"; do
|
||||||
TITLE=$(jq ."$KEYS".[Title] "${issueslist}")
|
TITLE=$(jq ."$KEYS".[Title] "${issueslist}")
|
||||||
if [[ "$TITLE" == *"$f"* ]]; then
|
if [[ "$TITLE" == *"$f"* ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user