We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f777ab commit 4edbedcCopy full SHA for 4edbedc
.github/workflows/add-lang.yml
@@ -19,7 +19,7 @@ jobs:
19
run: |
20
LANG_CODE=$(sed 's/.*\[\([^]]*\)].*/\1/' <<< "$ISSUE_TITLE")
21
FULL_LANG=$(sed 's/.*<\([^>]*\)>.*/\1/' <<< "$ISSUE_TITLE")
22
- if [[ $LANG_CODE =~ ^[a-z]{2}(-[A-Z]{2})?$ && $ISSUE_TITLE =~ <[^>]+> ]]; then
+ if [[ "$LANG_CODE" =~ ^[a-z]{2}(-[A-Z]{2})?$ && "$ISSUE_TITLE" =~ <[^>]+> ]]; then
23
echo "lang_code=$LANG_CODE" >> $GITHUB_ENV
24
echo "full_lang=$FULL_LANG" >> $GITHUB_ENV
25
echo "issue_num=$ISSUE_NUM" >> $GITHUB_ENV
0 commit comments