8989
9090 - name : Commit crowdin sync
9191 run : |
92- git add .
92+ git add translations/${{ matrix.language }}
9393 git commit -m "Add crowdin translations" || echo "Nothing to commit"
9494
9595 - name : ' Setup node'
@@ -102,39 +102,39 @@ jobs:
102102 - name : Reset files with broken liquid tags
103103 run : |
104104 node script/i18n/reset-files-with-broken-liquid-tags.js --language=${{ matrix.language_code }}
105- git add . && git commit -m "run script/i18n/reset-files-with-broken-liquid-tags.js --language=${{ matrix.language_code }}" || echo "Nothing to commit"
105+ git add translations/${{ matrix.language }} && git commit -m "run script/i18n/reset-files-with-broken-liquid-tags.js --language=${{ matrix.language_code }}" || echo "Nothing to commit"
106106
107107 # step 5 in docs-engineering/crowdin.md using script from docs-internal#22709
108108 - name : Reset known broken files
109109 run : |
110110 node script/i18n/reset-known-broken-translation-files.js
111- git add . && git commit -m "run script/i18n/reset-known-broken-translation-files.js" || echo "Nothing to commit"
111+ git add translations/${{ matrix.language }} && git commit -m "run script/i18n/reset-known-broken-translation-files.js" || echo "Nothing to commit"
112112 env :
113113 GITHUB_TOKEN : ${{ secrets.DOCUBOT_REPO_PAT }}
114114
115115 # step 6 in docs-engineering/crowdin.md
116116 - name : Homogenize frontmatter
117117 run : |
118118 node script/i18n/homogenize-frontmatter.js
119- git add . && git commit -m "Run script/i18n/homogenize-frontmatter.js" || echo "Nothing to commit"
119+ git add translations/${{ matrix.language }} && git commit -m "Run script/i18n/homogenize-frontmatter.js" || echo "Nothing to commit"
120120
121121 # step 7 in docs-engineering/crowdin.md
122122 - name : Fix translation errors
123123 run : |
124124 node script/i18n/fix-translation-errors.js
125- git add . && git commit -m "Run script/i18n/fix-translation-errors.js" || echo "Nothing to commit"
125+ git add translations/${{ matrix.language }} && git commit -m "Run script/i18n/fix-translation-errors.js" || echo "Nothing to commit"
126126
127127 # step 8a in docs-engineering/crowdin.md
128128 - name : Check parsing
129129 run : |
130130 node script/i18n/lint-translation-files.js --check parsing
131- git add . && git commit -m "Run script/i18n/lint-translation-files.js --check parsing" || echo "Nothing to commit"
131+ git add translations/${{ matrix.language }} && git commit -m "Run script/i18n/lint-translation-files.js --check parsing" || echo "Nothing to commit"
132132
133133 # step 8b in docs-engineering/crowdin.md
134134 - name : Check rendering
135135 run : |
136136 node script/i18n/lint-translation-files.js --check rendering
137- git add . && git commit -m "Run script/i18n/lint-translation-files.js --check rendering" || echo "Nothing to commit"
137+ git add translations/${{ matrix.language }} && git commit -m "Run script/i18n/lint-translation-files.js --check rendering" || echo "Nothing to commit"
138138
139139 - name : Create Pull Request
140140 env :
0 commit comments