From 9636e778cbd659d223b587ddad0605b5c899e020 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 8 May 2022 22:08:11 +0200 Subject: [PATCH] Update daily_README.yaml --- .github/workflows/daily_README.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/daily_README.yaml b/.github/workflows/daily_README.yaml index 8a70332be..35e04083a 100644 --- a/.github/workflows/daily_README.yaml +++ b/.github/workflows/daily_README.yaml @@ -60,15 +60,20 @@ jobs: # If there is an issue with the addon name in title, put a message COUNTER=0 while [[ $(jq -r --arg COUNTER $COUNTER ".[$COUNTER].title" issueslist) != null ]]; do + #Increment counter let COUNTER=COUNTER+1 echo "Counter = $COUNTER" + #Get variables TITLE="$(jq -r --arg COUNTER $COUNTER ".[$COUNTER].title" issueslist)" echo "Title =$TITLE" echo "f = $f" + #Check if relevant to addon - if [[ "$TITLE" == *"$f"* ]]; then + TITLE2="${TITLE,,}" + f2="${f,,}" + if [[ "$TITLE2" == *"$f2"* ]]; then echo "Title has an issue" REQ="$(jq -r --arg COUNTER $COUNTER ".[$COUNTER].user.login" issueslist)" URL="$(jq -r --arg COUNTER $COUNTER ".[$COUNTER].url" issueslist)"