소스 검색

skip keys starting with underscore

Markus-Rost 3 년 전
부모
커밋
87157b9adc
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      .github/workflows/commands.yaml

+ 4 - 0
.github/workflows/commands.yaml

@@ -19,6 +19,10 @@ jobs:
           language=$(basename $language .json)
           for file in `jq -r 'keys[]' interactions/i18n/$language.json`
           do
+            if [[ "$file" =~ ^_ ]]
+            then
+              continue
+            fi
             echo $file
             for key in `jq -r ".$file | keys[]" interactions/i18n/$language.json`
             do