Skip to content

Commit dfefd4d

Browse files
authored
chore: replace Crowdin GitHub action with CLI for downloading translations (#2318)
1 parent fb129b4 commit dfefd4d

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/update-external-docs.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,9 @@ jobs:
114114
- name: Install dependencies
115115
run: npm ci
116116

117-
# see all the options at https://github.com/crowdin/github-action
118-
- name: Crowdin PR
119-
uses: crowdin/github-action@8868a33591d21088edfc398968173a3b98d51706 # https://github.com/crowdin/github-action/releases/tag/v2.16.2
120-
with:
121-
upload_sources: false
122-
upload_translations: false
123-
download_translations: true
124-
push_translations: false
125-
create_pull_request: false
117+
- name: Download Crowdin translations
118+
run: npx --yes @crowdin/cli download
126119
env:
127-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128120
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
129121
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
130122

0 commit comments

Comments
 (0)