From 6d928ab5933f73faf26508a5805c0ed0a6ecfcba Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 7 May 2022 20:06:35 +0200 Subject: [PATCH] Update daily_README.yaml --- .github/workflows/daily_README.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/daily_README.yaml b/.github/workflows/daily_README.yaml index bddac2b08..866c8a0ff 100644 --- a/.github/workflows/daily_README.yaml +++ b/.github/workflows/daily_README.yaml @@ -18,6 +18,9 @@ jobs: # Init echo "Starting" + # Get issues list + curl -s https://api.github.com/repos/alexbelgium/hassio-addons/issues > issueslist + # Go through all folders, add to filters if not existing for f in $( find -- * -maxdepth 0 -type d | sort -r ); do if [ -f "$f"/config.json ]; then @@ -34,9 +37,8 @@ jobs: fi # If there is an issue, put a message - curl https://api.github.com/repos/alexbelgium/hassio-addons/issues - echo "$f" - echo "$f" | grep "$f" + OPENISSUES=$(sed -ni "/$f/p" issueslist) + echo "$OPENISSUES" #if [ "$OPENISSUES" != "" ]; then # for item in ${OPENISSUES//\\n/ } # do