mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Sanitize title
This commit is contained in:
1
.github/workflows/on_issues.yml
vendored
1
.github/workflows/on_issues.yml
vendored
@@ -36,6 +36,7 @@ jobs:
|
||||
|
||||
#Get variables
|
||||
TITLE="$(jq -r --arg COUNTER $COUNTER ".[$COUNTER].title" issueslist)"
|
||||
TITLE="${TITLE//[<>$\'\"]/}"
|
||||
#Check if relevant to addon
|
||||
SLUG="$(jq -r --arg f "$f" ".slug" "$f"/config.json)"
|
||||
NAME="$(jq -r --arg f "$f" ".name" "$f"/config.json)"
|
||||
|
||||
Reference in New Issue
Block a user