Update on_issues.yml

This commit is contained in:
Alexandre
2023-03-27 09:59:56 +02:00
committed by GitHub
parent a5589139b5
commit 6a4934ba4f

View File

@@ -38,14 +38,8 @@ jobs:
TITLE="$(jq -r --arg COUNTER $COUNTER ".[$COUNTER].title" issueslist)"
#Check if relevant to addon
# Make lowercase
TITLE2="${TITLE,,}"
# Make lowercase
f2="${f,,}"
# Get slug
f3="$(jq -r --arg f $f ".slug" "$f"/config.json)"
f3="${f3,,}"
if [[ "$TITLE2" == *"$f2"* ]] || [[ "$TITLE2" == *"$f3"* ]]; then
if [[ "${TITLE,,}" == *"${f,,}"* ]] || [[ "${TITLE2,,}" == *"${f3,,}"* ]]; then
echo "Title has an issue"
REQ="$(jq -r --arg COUNTER $COUNTER ".[$COUNTER].user.login" issueslist)"
URL="$(jq -r --arg COUNTER $COUNTER ".[$COUNTER].html_url" issueslist)"