Update on_issues.yml

This commit is contained in:
Alexandre
2023-03-27 09:57:37 +02:00
committed by GitHub
parent 91d3aa746f
commit a5589139b5

View File

@@ -42,7 +42,10 @@ jobs:
TITLE2="${TITLE,,}"
# Make lowercase
f2="${f,,}"
if [[ "$TITLE2" == *"$f2"* ]]; then
# Get slug
f3="$(jq -r --arg f $f ".slug" "$f"/config.json)"
f3="${f3,,}"
if [[ "$TITLE2" == *"$f2"* ]] || [[ "$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)"