Skip to content

Commit c789ff1

Browse files
authored
Merge pull request #12494 from github/repo-sync
repo sync
2 parents 4c0e5e4 + 3b70e3f commit c789ff1

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/create-translation-batch-pr.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,6 @@ jobs:
9999

100100
- run: npm ci
101101

102-
- name: Reset files with broken liquid tags
103-
run: |
104-
node script/i18n/reset-files-with-broken-liquid-tags.js --language=${{ matrix.language_code }}
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"
106-
107-
# step 5 in docs-engineering/crowdin.md using script from docs-internal#22709
108-
- name: Reset known broken files
109-
run: |
110-
node script/i18n/reset-known-broken-translation-files.js
111-
git add translations/${{ matrix.language }} && git commit -m "run script/i18n/reset-known-broken-translation-files.js" || echo "Nothing to commit"
112-
env:
113-
GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }}
114-
115102
# step 6 in docs-engineering/crowdin.md
116103
- name: Homogenize frontmatter
117104
run: |
@@ -127,15 +114,28 @@ jobs:
127114
# step 8a in docs-engineering/crowdin.md
128115
- name: Check parsing
129116
run: |
130-
node script/i18n/lint-translation-files.js --check parsing
117+
node script/i18n/lint-translation-files.js --check parsing | tee -a /tmp/batch.log | cat
131118
git add translations/${{ matrix.language }} && git commit -m "Run script/i18n/lint-translation-files.js --check parsing" || echo "Nothing to commit"
132119
133120
# step 8b in docs-engineering/crowdin.md
134121
- name: Check rendering
135122
run: |
136-
node script/i18n/lint-translation-files.js --check rendering
123+
node script/i18n/lint-translation-files.js --check rendering | tee -a /tmp/batch.log | cat
137124
git add translations/${{ matrix.language }} && git commit -m "Run script/i18n/lint-translation-files.js --check rendering" || echo "Nothing to commit"
138125
126+
- name: Reset files with broken liquid tags
127+
run: |
128+
node script/i18n/reset-files-with-broken-liquid-tags.js --language=${{ matrix.language_code }} | tee -a /tmp/batch.log | cat
129+
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"
130+
131+
# step 5 in docs-engineering/crowdin.md using script from docs-internal#22709
132+
- name: Reset known broken files
133+
run: |
134+
node script/i18n/reset-known-broken-translation-files.js | tee -a /tmp/batch.log | cat
135+
git add translations/${{ matrix.language }} && git commit -m "run script/i18n/reset-known-broken-translation-files.js" || echo "Nothing to commit"
136+
env:
137+
GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }}
138+
139139
- name: Check in CSV report
140140
run: |
141141
mkdir -p log

0 commit comments

Comments
 (0)