Skip to content

Commit

Permalink
Repeat flags
Browse files Browse the repository at this point in the history
  • Loading branch information
spier committed Dec 1, 2023
1 parent f066ed8 commit 41ed0bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/i18n-consistency-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ jobs:
- name: Create issue
if: steps.check_files.outputs.files_exists == 'true'
run: |
# Declare the flags
declare -A flags=( ["ja"]=":jp: Japanese" ["zh"]=":cn: Chinese" ["pt-br"]=":brazil: Brazilian Portuguese" ["gl"]="Galician" )
# Heredoc for issue header
cat <<- EOM > issue-full.md
# i18n Contents Consistency Issue
Expand All @@ -90,7 +93,7 @@ jobs:
cat issue.md >> issue-full.md
# title of the GitHub issue to look for
issue_title="${flags[\"${{matrix.language}}\"]}: Content Consistency Issue"
issue_title="${flags['${{matrix.language}}']}: Content Consistency Issue"
# Get the existing issue ID
search_query="is:issue is:open in:title \"$issue_title\""
Expand Down

0 comments on commit 41ed0bb

Please sign in to comment.